Medium severity · published Oct 21, 2024
CVE-2024-49948
net: add more sanity checks to qdisc_pkt_len_init()
5.5
CVSS
0.3%
EPSS
No
On KEV
Description
In the Linux kernel, the following vulnerability has been resolved: net: add more sanity checks to qdisc_pkt_len_init() One path takes care of SKB_GSO_DODGY, assuming skb->len is bigger than hdr_len. virtio_net_hdr_to_skb() does not fully dissect TCP headers, it only make sure it is at least 20 bytes. It is possible for an user to provide a malicious 'GSO' packet, total length of 80 bytes. - 20 bytes of IPv4 header - 60 bytes TCP header - a small gso_size like 8 virtio_net_hdr_to_skb() would declare this packet as a normal GSO packet, because it would see 40 bytes of payload, bigger than gso_size. We need to make detect this case to not underflow qdisc_skb_cb(skb)->pkt_len.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Attack vector
Local
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.3% · higher than 22% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
KE
Kernel · Linux
3.9 before 4.19.323; 4.20 before 5.4.285; 5.5 before 5.10.227; 5.11 before 5.15.168; 5.16 before 6.1.113; 6.2 before 6.6.55; +3 more · source: NVD
LI
Linux · Linux
1def9238d4aa2146924994aa4b7dc861f03b9362 before d7d1a28f5dd57b4d83def876f8d7b4403bd37df9; 1def9238d4aa2146924994aa4b7dc861f03b9362 before 473426a1d53a68dd1e718e6cd00d57936993fa6c; 1def9238d4aa2146924994aa4b7dc861f03b9362 before 566a931a1436d0e0ad13708ea55479b95426213c; 1def9238d4aa2146924994aa4b7dc861f03b9362 before 2415f465730e48b6e38da1c7c097317bf5dd2d20; 1def9238d4aa2146924994aa4b7dc861f03b9362 before 27a8fabc54d2f960d47bdfbebf2bdc6e8a92a4c4; 1def9238d4aa2146924994aa4b7dc861f03b9362 before 9b0ee571d20a238a22722126abdfde61f1b2bdd0; +4 more · source: vendor
RR
RUGGEDCOM RST2428P · Siemens
before V3.2 · source: CISA
SS
SIMATIC S7-1500 CPU 1518-4 PN/DP MFP · Siemens
V3.1.0 before V3.1.5; V3.1.0 before V3.1.5 · source: CISA
SS
SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP · Siemens
V3.1.0 before V3.1.5; V3.1.0 before V3.1.5 · source: CISA
SS
SIPLUS S7-1500 CPU 1518-4 PN/DP MFP · Siemens
V3.1.0 before V3.1.5 · source: CISA