cifs: Fix locking usage for tcon fields (Linux Linux)

CVE-2026-43215
HIGH 8.8

At a glance

Source
NVD
EPSS
EPSS 0.32 % · percentile 25 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: cifs: Fix locking usage for tcon fields We used to use the cifs_tcp_ses_lock to protect a lot of objects that are not just the server, ses or tcon lists. We later introduced srv_lock, ses_lock and tc_lock to protect fields within the corresponding structs. This was done to provide a more granular protection and avoid unnecessary serialization. There were still a couple of uses of cifs_tcp_ses_lock to provide tcon fields. In this patch, I've replaced them with tc_lock.

Weaknesses (CWE)

  • CWE-362 — Concurrent Execution using Shared Resource with Improper Synchronization
  • CWE-667 — Improper Locking

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 8.8CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 8.8CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected d7d7a66aacd6fd8ca57baf08a7bac5421282f6f8 < 92d197ef7e9bb4994dae2bb17c2f19fa09d219a2 ; affected d7d7a66aacd6fd8ca57baf08a7bac5421282f6f8 < 953953abb66e52c224057ab91e404284fefeab62 ; affected d7d7a66aacd6fd8ca57baf08a7bac5421282f6f8 < 601dd3b79769b38d30b693c40afdb2a4b7edf9d0 ; affected d7d7a66aacd6fd8ca57baf08a7bac5421282f6f8 < 3969db6b22e3d90d8c5f22ac1a7fe0350a94c136 ; affected d7d7a66aacd6fd8ca57baf08a7bac5421282f6f8 < 8c59eeeeffa1524ef57e173a89a1a3ff539888d5 ; affected d7d7a66aacd6fd8ca57baf08a7bac5421282f6f8 < 96c4af418586ee9a6aab61738644366426e05316
Linux · Linuxaffected 6.0 ; unaffected 0 < 6.0 ; unaffected 6.1.191 ≤ 6.1.* ; unaffected 6.6.128 ≤ 6.6.* ; unaffected 6.12.75 ≤ 6.12.* ; unaffected 6.18.16 ≤ 6.18.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD