CVE-2022-49688
MediumIn 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
CVSS 3.1 score
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness type
CWE-476CVE-2022-49688 is a NULL Pointer Dereference vulnerability
What is NULL Pointer Dereference?
The product dereferences a pointer that it expects to be valid but is NULL, typically causing a crash. Learn more on MITRE CWE
Affected versions
Linux kernel versions
4.19.245,
5.4.196,
5.10.118,
5.15.42,
5.17.10,
5.18
and later are affected. Fixed in
4.19.250,
5.4.202,
5.10.127,
5.15.51,
5.18.8,
5.19
and their respective stable series.
References
The following references provide additional information about CVE-2022-49688 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
PatchKernel patch commithttps://git.kernel.org/stable/c/2b2bba96526f25f2eba74ecadb031de2e05a83ce
-
PatchKernel patch commithttps://git.kernel.org/stable/c/65c24caf1b9f5b08397c6e805ec24ebc390c6e4d
-
PatchKernel patch commithttps://git.kernel.org/stable/c/7844ceada44eca740d31beb3d97b8511b1ca0a9b
Frequently asked questions
-
What is CVE-2022-49688?
CVE-2022-49688 is a Medium severity Linux kernel vulnerability with a CVSS score of 5.5 out of 10 , classified as a NULL Pointer Dereference flaw (CWE-476) . It affects Linux kernel versions from 4.19.245 onward and has been patched in 4.19.250, 5.4.202, 5.10.127 and others. CVE-2022-49688 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2022-49688?
CVE-2022-49688 has a CVSS score of 5.5 out of 10, rated Medium severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H. -
Is there a patch available for CVE-2022-49688?
Yes — CVE-2022-49688 has been patched. Fixed versions include 4.19.250, 5.4.202, 5.10.127 and others. If you are running Linux kernel 4.19.245 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2022-49688 actively exploited?
No — CVE-2022-49688 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.
-
What is NULL Pointer Dereference (CWE-476)?
The product dereferences a pointer that it expects to be valid but is NULL, typically causing a crash. View CWE-476 on MITRE CWE →