PT-2024-7086 · Linux+2 · Linux Kernel+2

Radu Rendec

·

Published

2024-07-03

·

Updated

2024-12-19

·

CVE-2024-42108

CVSS v3.1

7.8

High

VectorAV: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 The issue is related to a use-after-free vulnerability in the rswitch tx free() function, which is inlined in rswitch poll(). This occurs because skb and gq->skbs[gq->dirty] are the same pointer. The skb is first freed using dev kfree skb any(), and then the value in skb->len is used to update interface statistics. This bug can be easily reproduced using KFENCE and will trigger a splat every few packets, with a simple ARP request or ICMP echo request being enough to exploit it.
Recommendations 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

BDU:2024-08351
CVE-2024-42108
USN-7089-1
USN-7089-2
USN-7089-3
USN-7089-4
USN-7089-5
USN-7089-6
USN-7089-7
USN-7090-1
USN-7095-1
USN-7156-1

Affected Products

Linuxmint
Linux Kernel
Ubuntu