xfs: avoid dereferencing log items after push callbacks
- 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.1.168, 6.6.131, 6.12.80, 6.18.21, 6.19.11
- 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: xfs: avoid dereferencing log items after push callbacks After xfsaild_push_item() calls iop_push(), the log item may have been freed if the AIL lock was dropped during the push. Background inode reclaim or the dquot shrinker can free the log item while the AIL lock is not held, and the tracepoints in the switch statement dereference the log item after iop_push() returns. Fix this by capturing the log item type, flags, and LSN before calling xfsaild_push_item(), and introducing a new xfs_ail_push_class trace event class that takes these pre-captured values and the ailp pointer instead of the log item pointer.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: total
- Record last updated
Affected versions
- Linux Linux
From 90c60e16401248a4900f3f9387f563d0178dcf34 · fixed in c8a2ab339b88d10fc34a3318c92f07d8a467019d; From 90c60e16401248a4900f3f9387f563d0178dcf34 · fixed in 7121b22b0bac89394cc4c6a54b5aebc15347bdf5; From 90c60e16401248a4900f3f9387f563d0178dcf34 · fixed in c4d603e8e58a3bf35480135ccca2b4f7238abda5; From 90c60e16401248a4900f3f9387f563d0178dcf34 · fixed in 95fb5d643cc70959baa54cd17f52f80ffc3295e7; From 90c60e16401248a4900f3f9387f563d0178dcf34 · fixed in 451c6329d9afa45862c36fe6677eb7750db60617; From 90c60e16401248a4900f3f9387f563d0178dcf34 · fixed in 79ef34ec0554ec04bdbafafbc9836423734e1bd6
- Linux Linux
5.9
- KernelLinux
From 5.9.0 · fixed in 6.1.168; From 6.2.0 · fixed in 6.6.131; From 6.7.0 · fixed in 6.12.80; From 6.13.0 · fixed in 6.18.21; From 6.19.0 · fixed in 6.19.11