net/9p/usbg: clear stale client pointer on close (Linux Linux)

CVE-2026-99776
Not available

At a glance

Source
NVD
EPSS
EPSS 0.16 % · percentile 5 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
Affected products
Linux · Linux
NVD status
Received

Description

In the Linux kernel, the following vulnerability has been resolved: net/9p/usbg: clear stale client pointer on close p9_usbg_close() tears down the client transport, but usb9pfs keeps using usb9pfs->client from asynchronous TX and RX completion handlers. A late completion can therefore dereference a client that has already been freed during mount teardown. Clear usb9pfs->client under usb9pfs->lock when closing the transport, detach any pending TX request from in_req->context, and make the TX/RX completion handlers bail out once the transport has been detached. This keeps late completions from touching a freed or rebound p9_client.

References

European references

CERT-FR advisories

Affected products

ProductAffected versions
Linux · Linux
affected : ≥ a3be076dc174d9022a71a12554feb4c97b5c4d5c < e56ec7e03bec90050368b9bc268d1de098bb92bc
affected : ≥ a3be076dc174d9022a71a12554feb4c97b5c4d5c < 951a7562ecde301a30ded7305b61dd0e9784bee8
affected : ≥ a3be076dc174d9022a71a12554feb4c97b5c4d5c < c090c95f747714999a3fdebafa07b663473b7b7b
affected : ≥ a3be076dc174d9022a71a12554feb4c97b5c4d5c < a478958f4c1181ff3362f8857b489c2d069f9c7d
Other versions : unaffected
Linux · Linux
affected : 6.12
unaffected : ≥ 0 < 6.12
unaffected : ≥ 6.12.118 ≤ 6.12.*
unaffected : ≥ 6.18.64 ≤ 6.18.*
unaffected : ≥ 7.3.5 ≤ 7.3.*
unaffected : ≥ 7.4-rc2 ≤ *
Other versions : affected

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