PT-2025-18557 · Linux+2 · Linux Kernel+2
Published
2022-11-02
·
Updated
2025-06-17
·
CVE-2022-49840
CVSS v3.1
7.8
High
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Linux kernel (affected versions not specified)
Description
A problem of alignment in the bpf prog test run skb() function has been resolved. The issue occurred when the size of the user bpf program was an odd number, causing unaligned access to the struct skb shared info. This led to a use-after-free read error. The error was detected by syzkaller due to an aarch64 alignment fault when KFENCE was enabled.
Recommendations
To resolve the issue, adjust the @size so that (@size + @hearoom) is a multiple of SMP CACHE BYTES, ensuring the struct skb shared info is aligned to a cache line.
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
Use After Free
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Astra Linux
Linux Kernel
Suse