CVE-2023-54181
Last modified
CVE-2023-54181 is a vulnerability of currently unknown severity. In the Linux kernel, the following vulnerability has been resolved: bpf: Fix issue in verifying allow_ptr_leaks After we converted the capabilities of our networking-bpf program from cap_sys_admin to cap_net_admin+cap_bpf, our networking-bpf program failed to start. Because it failed the bpf verifier, and the error log is "R3 pointer comparison prohibited". A simple reproducer as follows, SEC("cls-ingress") int ingress(struct __sk_buff *skb) { struct iphdr *iph = (void *)(long)skb->data + sizeof(struct ethhdr); if ((long)(iph + 1) > (long)skb->data_end) return TC_ACT_STOLEN; return TC_ACT_OK; } Per discussion with Yonghong and Alexei [1], comparison of two packet pointers is not a pointer leak. EPSS estimates a 0.17% chance of exploitation in the next 30 days.
Description
In the Linux kernel, the following vulnerability has been resolved: bpf: Fix issue in verifying allow_ptr_leaks After we converted the capabilities of our networking-bpf program from cap_sys_admin to cap_net_admin+cap_bpf, our networking-bpf program failed to start. Because it failed the bpf verifier, and the error log is "R3 pointer comparison prohibited". A simple reproducer as follows, SEC("cls-ingress") int ingress(struct __sk_buff *skb) { struct iphdr *iph = (void *)(long)skb->data + sizeof(struct ethhdr); if ((long)(iph + 1) > (long)skb->data_end) return TC_ACT_STOLEN; return TC_ACT_OK; } Per discussion with Yonghong and Alexei [1], comparison of two packet pointers is not a pointer leak. This patch fixes it. Our local kernel is 6.1.y and we expect this fix to be backported to 6.1.y, so stable is CCed. [1]. https://lore.kernel.org/bpf/CAADnVQ+Nmspr7Si+pxWn8zkE7hX-7s93ugwC+94aXSy4uQ9vBg@mail.gmail.com/
Metrics
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= 2c78ee898d8f10ae6fb2fa23a3fbaec96b1b7366, < c96c67991aac6401b4c6996093bccb704bb2ea4b; >= 2c78ee898d8f10ae6fb2fa23a3fbaec96b1b7366, < 5927f0172d2809d8fc09c1ba667280b0387e9f73; >= 2c78ee898d8f10ae6fb2fa23a3fbaec96b1b7366, < acfdc8b77016c8e648aadc283177546c88083dd3; >= 2c78ee898d8f10ae6fb2fa23a3fbaec96b1b7366, < d75e30dddf73449bc2d10bb8e2f1a2c446bc67a2 |
| Linux | Linux | 5.8 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2023-54181?
How severe is CVE-2023-54181?
How do I fix CVE-2023-54181?
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 2023
- CVE-2023-54175In the Linux kernel, the following vulnerability has been re…
- CVE-2023-54176In the Linux kernel, the following vulnerability has been re…
- CVE-2023-54177In the Linux kernel, the following vulnerability has been re…
- CVE-2023-54178In the Linux kernel, the following vulnerability has been re…
- CVE-2023-54179In the Linux kernel, the following vulnerability has been re…
- CVE-2023-54180In the Linux kernel, the following vulnerability has been re…
- CVE-2023-54182In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2023-54183In the Linux kernel, the following vulnerability has been re…
- CVE-2023-54184In the Linux kernel, the following vulnerability has been re…9.8
- CVE-2023-54185In the Linux kernel, the following vulnerability has been re…
- CVE-2023-54186In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2023-54187In the Linux kernel, the following vulnerability has been re…7.8
Are you affected by CVE-2023-54181?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
