CVE-2023-52843: llc: verify mac len before reading mac header
Vulnerability summary
CVE-2023-52843 is a medium (CVSS 5.5) Use of Uninitialized Resource vulnerability in linux. EPSS estimates a 0.24% chance of exploitation in the next 30 days, higher than 15.8% of scored vulnerabilities.
Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 11 · Related 11Timeline
- 21-05-2024PublishedVulnerability first disclosed.
- 11-05-2026Last modifiedVulnerability information updated.
Description
In the Linux kernel, the following vulnerability has been resolved: llc: verify mac len before reading mac header LLC reads the mac header with eth_hdr without verifying that the skb has an Ethernet header. Syzbot was able to enter llc_rcv on a tun device. Tun can insert packets without mac len and with user configurable skb->protocol (passing a tun_pi header when not configuring IFF_NO_PI). BUG: KMSAN: uninit-value in llc_station_ac_send_test_r net/llc/llc_station.c:81 [inline] BUG: KMSAN: uninit-value in llc_station_rcv+0x6fb/0x1290 net/llc/llc_station.c:111 llc_station_ac_send_test_r net/llc/llc_station.c:81 [inline] llc_station_rcv+0x6fb/0x1290 net/llc/llc_station.c:111 llc_rcv+0xc5d/0x14a0 net/llc/llc_input.c:218 __netif_receive_skb_one_core net/core/dev.c:5523 [inline] __netif_receive_skb+0x1a6/0x5a0 net/core/dev.c:5637 netif_receive_skb_internal net/core/dev.c:5723 [inline] netif_receive_skb+0x58/0x660 net/core/dev.c:5782 tun_rx_batched+0x3ee/0x980 drivers/net/tun.c:1555 tun_get_user+0x54c5/0x69c0 drivers/net/tun.c:2002 Add a mac_len test before all three eth_hdr(skb) calls under net/llc. There are further uses in include/net/llc_pdu.h. All these are protected by a test skb->protocol == ETH_P_802_2. Which does not protect against this tun scenario. But the mac_len test added in this patch in llc_fixup_skb will indirectly protect those too. That is called from llc_rcv before any other LLC code. It is tempting to just add a blanket mac_len check in llc_rcv, but not sure whether that could break valid LLC paths that do not assume an Ethernet header. 802.2 LLC may be used on top of non-802.3 protocols in principle. The below referenced commit shows that used to, on top of Token Ring. At least one of the three eth_hdr uses goes back to before the start of git history. But the one that syzbot exercises is introduced in this commit. That commit is old enough (2008), that effectively all stable kernels should receive this.
CVSS metrics
4 scores · 3 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.24%
Chance of exploitation in the next 30 days
Percentile
16%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.24% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu116 products
- linuxAll versions (No fix recorded) | < 5.4.0-173.191 | < 5.15.0-100.110
- linux-allwinner-5.19All versions (No fix recorded)
- linux-awsAll versions (No fix recorded) | < 5.4.0-1120.130 | < 5.15.0-1056.61
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Linux2 products
- linux≥ f83f1768f833cb45bc93429fdc552252a4f55ac3, < 900a4418e3f66a32db6baaf23f92b99c20ae6535 | ≥ f83f1768f833cb45bc93429fdc552252a4f55ac3, < 9a3f9054a5227d7567cba1fb821df48ccecad10c | ≥ f83f1768f833cb45bc93429fdc552252a4f55ac3, < cbdcdf42d15dac74c7287679fb2a9d955f8feb1f | ≥ f83f1768f833cb45bc93429fdc552252a4f55ac3, < 3a2653828ffc6101aef80bf58d5b77484239f779 | ≥ f83f1768f833cb45bc93429fdc552252a4f55ac3, < 352887b3edd007cf9b0abc30fe9d98622acd859b | ≥ f83f1768f833cb45bc93429fdc552252a4f55ac3, < f980e9a57dfb9530f1f4ee41a2420f2a256d7b29 | ≥ f83f1768f833cb45bc93429fdc552252a4f55ac3, < 0a720d0259ad3521ec6c9e4199f9f6fc75bac77a | ≥ f83f1768f833cb45bc93429fdc552252a4f55ac3, < ff5cb6a4f0c6d7fbdc84858323fb4b7af32cfd79 | ≥ f83f1768f833cb45bc93429fdc552252a4f55ac3, < 7b3ba18703a63f6fd487183b9262b08e5632da1b | 2.6.25
- linux_kernel≥ 2.6.26, < 4.14.330 | ≥ 4.15, < 4.19.299 | ≥ 4.20, < 5.4.261 | ≥ 5.5, < 5.10.201 | ≥ 5.11, < 5.15.139 | ≥ 5.16, < 6.1.63 | ≥ 6.2, < 6.5.12 | ≥ 6.6, < 6.6.2 | 2.6.25 | 2.6.25:rc9
Debian1 product
- linux< 6.1.64-1 | < 6.6.8-1
3 vendors · 119 products