gfs2: Fix slab-use-after-free in qd_put
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.6.160, 6.12.75, 6.18.14, 6.19.4
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: total
Summary
In the Linux kernel, the following vulnerability has been resolved: gfs2: Fix slab-use-after-free in qd_put Commit a475c5dd16e5 ("gfs2: Free quota data objects synchronously") started freeing quota data objects during filesystem shutdown instead of putting them back onto the LRU list, but it failed to remove these objects from the LRU list, causing LRU list corruption. This caused use-after-free when the shrinker (gfs2_qd_shrink_scan) tried to access already-freed objects on the LRU list. Fix this by removing qd objects from the LRU list before freeing them in qd_put(). Initial fix from Deepanshu Kartikey <kartikey406@gmail.com>.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: total
- Record last updated
Affected versions
- Linux Linux
From a475c5dd16e57c570113eccba51955b5df8bb052 · fixed in 53aaf083de197946b25bc4ffa3068d37366ce73d; From a475c5dd16e57c570113eccba51955b5df8bb052 · fixed in ca7c67bdd293089b3483f18886d6b2d0037d2ad9; From a475c5dd16e57c570113eccba51955b5df8bb052 · fixed in 1d47922b98046b8070a77347fb883a6523792803; From a475c5dd16e57c570113eccba51955b5df8bb052 · fixed in 80fff26d7a0c3926b511661c27eecc811a420eef; From a475c5dd16e57c570113eccba51955b5df8bb052 · fixed in 22150a7d401d9e9169b9b68e05bed95f7f49bf69
- Linux Linux
6.6
- KernelLinux
From 6.6.0 · fixed in 6.6.160; From 6.7.0 · fixed in 6.12.75; From 6.13.0 · fixed in 6.18.14; From 6.19.0 · fixed in 6.19.4