CVE-2022-49688
afs: Fix dynamic root getattr
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= b76ea7c06b24dcf97ea3379b6957d5b99c346ea0, < 65c24caf1b9f5b08397c6e805ec24ebc390c6e4d; >= dba1941f5bc3de6b460685155b89ae1182824fc8, < e3a232e5767051483ffad4cef7d0a89d292a192b; >= 61a4cc41e5c1b77d05a12798f8032050aa75f3c8, < 7b564e3254b7db5fbfbf11a824627a6c31b932b4; >= 94bf8bfb009fad247d02f12e4c443411c8445412, < 2b2bba96526f25f2eba74ecadb031de2e05a83ce; >= 2aeb8c86d49967552394d5e723f87454cb53f501, < 7844ceada44eca740d31beb3d97b8511b1ca0a9b; >= 2aeb8c86d49967552394d5e723f87454cb53f501, < cb78d1b5efffe4cf97e16766329dd7358aed3deb; 9e655a8b874d7c56e02938ddb221b16e293793df; >= 4.19.245, < 4.19.250; >= 5.4.196, < 5.4.202; >= 5.10.118, < 5.10.127; …
- Anyone running Linux 5.18
Vulnerability facts
- Affected
- Linux >= b76ea7c06b24dcf97ea3379b6957d5b99c346ea0, < 65c24caf1b9f5b08397c6e805ec24ebc390c6e4d; >= dba1941f5bc3de6b460685155b89ae1182824fc8, < e3a232e5767051483ffad4cef7d0a89d292a192b; >= 61a4cc41e5c1b77d05a12798f8032050aa75f3c8, < 7b564e3254b7db5fbfbf11a824627a6c31b932b4; >= 94bf8bfb009fad247d02f12e4c443411c8445412, < 2b2bba96526f25f2eba74ecadb031de2e05a83ce; >= 2aeb8c86d49967552394d5e723f87454cb53f501, < 7844ceada44eca740d31beb3d97b8511b1ca0a9b; >= 2aeb8c86d49967552394d5e723f87454cb53f501, < cb78d1b5efffe4cf97e16766329dd7358aed3deb; 9e655a8b874d7c56e02938ddb221b16e293793df; >= 4.19.245, < 4.19.250; >= 5.4.196, < 5.4.202; >= 5.10.118, < 5.10.127; …; Linux 5.18
- Fixed in
- Linux 65c24caf1b9f5b08397c6e805ec24ebc390c6e4d, Linux 7b564e3254b7db5fbfbf11a824627a6c31b932b4, Linux 2b2bba96526f25f2eba74ecadb031de2e05a83ce, Linux 7844ceada44eca740d31beb3d97b8511b1ca0a9b, Linux 4.19.250, Linux 5.4.202, Linux 5.10.127
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.29% chance of exploitation in 30 days (percentile 14, 2026-11-26)
- CWE
- CWE-476
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: afs: Fix dynamic root getattr The recent patch to make afs_getattr consult the server didn't account for the pseudo-inodes employed by the dynamic root-type afs superblock not having a volume or a server to access, and thus an oops occurs if such a directory is stat'd. Fix this by checking to see if the vnode->volume pointer actually points anywhere before following it in afs_getattr(). This can be tested by stat'ing a directory in /afs. It may be sufficient just to do "ls /afs" and the oops looks something like: BUG: kernel NULL pointer dereference, address: 0000000000000020 ... RIP: 0010:afs_getattr+0x8b/0x14b ... Call Trace: <TASK> vfs_statx+0x79/0xf5 vfs_fstatat+0x49/0x62
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= b76ea7c06b24dcf97ea3379b6957d5b99c346ea0, < 65c24caf1b9f5b08397c6e805ec24ebc390c6e4d; >= dba1941f5bc3de6b460685155b89ae1182824fc8, < e3a232e5767051483ffad4cef7d0a89d292a192b; >= 61a4cc41e5c1b77d05a12798f8032050aa75f3c8, < 7b564e3254b7db5fbfbf11a824627a6c31b932b4; >= 94bf8bfb009fad247d02f12e4c443411c8445412, < 2b2bba96526f25f2eba74ecadb031de2e05a83ce; >= 2aeb8c86d49967552394d5e723f87454cb53f501, < 7844ceada44eca740d31beb3d97b8511b1ca0a9b; >= 2aeb8c86d49967552394d5e723f87454cb53f501, < cb78d1b5efffe4cf97e16766329dd7358aed3deb; 9e655a8b874d7c56e02938ddb221b16e293793df; >= 4.19.245, < 4.19.250; >= 5.4.196, < 5.4.202; >= 5.10.118, < 5.10.127; … | — | cvelist |
| Linux | 5.18 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2022-49688. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2022-49688.md Affected: Linux >= b76ea7c06b24dcf97ea3379b6957d5b99c346ea0, < 65c24caf1b9f5b08397c6e805ec24ebc390c6e4d; >= dba1941f5bc3de6b460685155b89ae1182824fc8, < e3a232e5767051483ffad4cef7d0a89d292a192b; >= 61a4cc41e5c1b77d05a12798f8032050aa75f3c8, < 7b564e3254b7db5fbfbf11a824627a6c31b932b4; >= 94bf8bfb009fad247d02f12… Fixed in: Linux 65c24caf1b9f5b08397c6e805ec24ebc390c6e4d, Linux 7b564e3254b7db5fbfbf11a824627a6c31b932b4, Linux 2b2bba96526f25f2eba74ecadb031de2e05a83ce, Linux 7844ceada44eca740d31beb3d97b8511b1ca0a9b, Linux 4.19.250, Linux 5.4.202, Linux 5.10.127 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/65c24caf1b9f5b08397c6e805ec24ebc390c6e4d
- https://git.kernel.org/stable/c/e3a232e5767051483ffad4cef7d0a89d292a192b
- https://git.kernel.org/stable/c/7b564e3254b7db5fbfbf11a824627a6c31b932b4
- https://git.kernel.org/stable/c/2b2bba96526f25f2eba74ecadb031de2e05a83ce
- https://git.kernel.org/stable/c/7844ceada44eca740d31beb3d97b8511b1ca0a9b
- https://git.kernel.org/stable/c/cb78d1b5efffe4cf97e16766329dd7358aed3deb
FAQ
Is CVE-2022-49688 being exploited?
There is no confirmed exploitation: CVE-2022-49688 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.29% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2022-49688?
Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2022-49688?
Linux >= b76ea7c06b24dcf97ea3379b6957d5b99c346ea0, < 65c24caf1b9f5b08397c6e805ec24ebc390c6e4d; >= dba1941f5bc3de6b460685155b89ae1182824fc8, < e3a232e5767051483ffad4cef7d0a89d292a192b; >= 61a4cc41e5c1b77d05a12798f8032050aa75f3c8, < 7b564e3254b7db5fbfbf11a824627a6c31b932b4; >= 94bf8bfb009fad247d02f12e4c443411c8445412, < 2b2bba96526f25f2eba74ecadb031de2e05a83ce; >= 2aeb8c86d49967552394d5e723f87454cb53f501, < 7844ceada44eca740d31beb3d97b8511b1ca0a9b; >= 2aeb8c86d49967552394d5e723f87454cb53f501, < cb78d1b5efffe4cf97e16766329dd7358aed3deb; 9e655a8b874d7c56e02938ddb221b16e293793df; >= 4.19.245, < 4.19.250; >= 5.4.196, < 5.4.202; >= 5.10.118, < 5.10.127; …; Linux 5.18.
Is there a fix for CVE-2022-49688?
Yes. Fixed in Linux 65c24caf1b9f5b08397c6e805ec24ebc390c6e4d, Linux 7b564e3254b7db5fbfbf11a824627a6c31b932b4, Linux 2b2bba96526f25f2eba74ecadb031de2e05a83ce, Linux 7844ceada44eca740d31beb3d97b8511b1ca0a9b, Linux 4.19.250, Linux 5.4.202, Linux 5.10.127. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2022-49688?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.