CVE-2022-49289·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: uaccess: fix integer overflow on access_ok() Three architectures check the end of a user access against the address limit without taking a possible overflow into account. Passing a negative length or another overflow in here returns success when it should not. Use the most common correct implementation here, which optimizes for a constant 'size' argument, and turns the common case into a single comparison.
- Severity
- high
- Software
- Kernel
- Fixed in
- 5.16.18
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at <0.1% — higher than 11% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Read the two together. CVE-2022-49289 scores 7.1 on CVSS, so a successful attack would be serious — but at <0.1%, almost nobody is currently attempting it. That is a different situation from a flaw under mass exploitation, and it is usually the difference between patching on your next maintenance window and patching tonight.
Affected versions
From: 5.16
Until: 5.16.18
Fixed in: 5.16.18
How to fix this CVE
Update your Linux kernel to version 5.16.18 or later to remediate an integer overflow vulnerability in the user access validation routines. This flaw could allow a local, privileged user to bypass memory access restrictions by supplying a negative or overflowed length parameter. Apply the kernel update immediately and reboot the system to activate the patched version.
sudo dnf update kernel kernel-devel && sudo rebootDefensia detects this vulnerability
How to check if you are affected
- Step 1: Check the running kernel version with 'uname -r' and compare against the fixed version 5.16.18 or later
- Step 2: Verify the vulnerable code path exists by checking if your architecture (x86_64, arm64, or powerpc) implements custom access_ok() validation: grep -r 'access_ok' /boot/config-$(uname -r) | head -5
- Step 3: Search system logs for failed access violations or suspicious memory access attempts: journalctl -u kernel --grep='access' -n 100 | grep -i 'overflow\|access\|fault'
- Step 4: After patching, confirm the new kernel is loaded: uname -r should display 5.16.18 or higher, and dmesg | head -1 should show the updated kernel boot message
FAQ
What is CVE-2022-49289?
CVE-2022-49289 is an integer overflow vulnerability in the Linux kernel's user access validation function (access_ok) that fails to properly check for negative or overflowed address lengths, potentially allowing privilege escalation or denial of service.
Is CVE-2022-49289 being actively exploited?
No, CVE-2022-49289 is not listed in the CISA Known Exploited Vulnerabilities catalog and no public exploits are available. However, it is a high-severity local privilege escalation vector that should be patched promptly.
What versions of Kernel are affected by CVE-2022-49289?
Linux kernel versions 5.16 through 5.16.17 are vulnerable. The vulnerability was resolved in kernel 5.16.18 and later.
How do I check if my server is vulnerable to CVE-2022-49289?
Run 'uname -r' to display your kernel version; if it shows 5.16.0 through 5.16.17, your system is vulnerable and requires immediate patching.
Does Defensia detect CVE-2022-49289?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel is installed on a monitored server, CVE-2022-49289 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2022-49289. Free for 1 server.
Get started free