CVE-2024-56638
Last modified
CVE-2024-56638 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. In the Linux kernel, the following vulnerability has been resolved: netfilter: nft_inner: incorrect percpu area handling under softirq Softirq can interrupt ongoing packet from process context that is walking over the percpu area that contains inner header offsets. Disable bh and perform three checks before restoring the percpu inner header offsets to validate that the percpu area is valid for this skbuff: 1) If the NFT_PKTINFO_INNER_FULL flag is set on, then this skbuff has already been parsed before for inner header fetching to register. 2) Validate that the percpu area refers to this skbuff using the skbuff pointer as a cookie. If there is a cookie mismatch, then this skbuff needs to be parsed again. 3) Finally, validate if the percpu area refers to this tunnel type. Only after these three checks the percpu area is restored to a on-stack copy and bh is enabled again. After inner header fetching, the on-stack copy is stored back to the percpu area.. EPSS estimates a 0.22% chance of exploitation in the next 30 days.
Description
In the Linux kernel, the following vulnerability has been resolved: netfilter: nft_inner: incorrect percpu area handling under softirq Softirq can interrupt ongoing packet from process context that is walking over the percpu area that contains inner header offsets. Disable bh and perform three checks before restoring the percpu inner header offsets to validate that the percpu area is valid for this skbuff: 1) If the NFT_PKTINFO_INNER_FULL flag is set on, then this skbuff has already been parsed before for inner header fetching to register. 2) Validate that the percpu area refers to this skbuff using the skbuff pointer as a cookie. If there is a cookie mismatch, then this skbuff needs to be parsed again. 3) Finally, validate if the percpu area refers to this tunnel type. Only after these three checks the percpu area is restored to a on-stack copy and bh is enabled again. After inner header fetching, the on-stack copy is stored back to the percpu area.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | >= 6.2, < 6.6.66 | — |
| Linux | Linux Kernel | >= 6.7, < 6.12.5 | — |
| Linux | Linux Kernel | 6.13 | Rc1 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2024-56638?
How severe is CVE-2024-56638?
How do I fix CVE-2024-56638?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-56632In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-56633In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2024-56634In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-56635In the Linux kernel, the following vulnerability has been re…7
- CVE-2024-56636In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-56637In the Linux kernel, the following vulnerability has been re…4.7
- CVE-2024-56639In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-5664The MP3 Audio Player – Music Player, Podcast Player & Radio …5.4
- CVE-2024-56640In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2024-56641In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-56642In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2024-56643In the Linux kernel, the following vulnerability has been re…5.5
Are you affected by CVE-2024-56638?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
