CVE-2022-49444·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: module: fix [e_shstrndx].sh_size=0 OOB access It is trivial to craft a module to trigger OOB access in this line: if (info->secstrings[strhdr->sh_size - 1] != '\0') { BUG: unable to handle page fault for address: ffffc90000aa0fff PGD 100000067 P4D 100000067 PUD 100066067 PMD 10436f067 PTE 0 Oops: 0000 [#1] PREEMPT SMP PTI CPU: 7 PID: 1215 Comm: insmod Not tainted 5.18.0-rc5-00007-g9bf578647087-dirty #10 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.14.0-4.fc34 04/01/2014 RIP: 0010:load_module+0x19b/0x2391 [rebased patch onto modules-next]
- Severity
- high
- Software
- Kernel
- Fixed in
- 5.18.3
- Published
- 2025-02-26
Affected versions
From: 5.18
Until: 5.18.3
Fixed in: 5.18.3
How to fix this CVE
Update your Linux kernel to version 5.18.3 or later to resolve an out-of-bounds memory access vulnerability triggered during kernel module loading. This vulnerability allows a local attacker with module loading privileges to cause a kernel panic or potentially execute arbitrary code. Prioritize this update for systems that allow unprivileged users to load kernel modules or run in containerized environments.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Check your kernel version: uname -r — verify it is 5.18.3 or later
- Confirm the vulnerable kernel component by checking module loading capabilities: grep -i 'CONFIG_MODULES' /boot/config-$(uname -r)
- Search system logs for kernel panic messages related to module loading: sudo journalctl -xe | grep -i 'insmod\|module.*oops\|page fault'
- After patching, reboot and re-run uname -r to confirm the new kernel version is active
FAQ
What is CVE-2022-49444?
CVE-2022-49444 is a kernel vulnerability in the module loading subsystem that fails to validate the string table header size, leading to out-of-bounds memory access when a crafted kernel module is loaded. This can crash the kernel or potentially allow code execution with elevated privileges.
Is CVE-2022-49444 being actively exploited?
No, this vulnerability is not listed on the CISA Known Exploited Vulnerabilities (KEV) catalog and no public exploits are currently available, though proof-of-concept code demonstrating the OOB access exists.
What versions of Kernel are affected by CVE-2022-49444?
Linux kernel versions 5.18.0 through 5.18.2 are vulnerable. The fix is included in version 5.18.3 and all subsequent stable releases.
How do I check if my server is vulnerable to CVE-2022-49444?
Run uname -r to display your kernel version. If it shows 5.18.0, 5.18.1, or 5.18.2, your system is vulnerable and requires immediate patching.
Does Defensia detect CVE-2022-49444?
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-49444 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-49444. Free for 1 server.
Get started free