CVE-2024-50276CWE-415

CVE-2024-50276

Critical · published November 19, 2024

CVSS v3.1
9.8
EPSS
1%
Percentile
51.1
In the wild
Unconfirmed
What it is

In the Linux kernel, the following vulnerability has been resolved:

net: vertexcom: mse102x: Fix possible double free of TX skb

The scope of the TX skb is wider than just mse102x_tx_frame_spi(),

so in case the TX skb room needs to be expanded, we should free the

the temporary skb instead of the original skb. Otherwise the original

TX skb pointer would be freed again in mse102x_tx_work(), which leads

to crashes:

Internal error: Oops: 0000000096000004 [#2] PREEMPT SMP

CPU: 0 PID: 712 Comm: kworker/0:1 Tainted: G D 6.6.23

Hardware name: chargebyte Charge SOM DC-ONE (DT)

Workqueue: events mse102x_tx_work [mse102x]

pstate: 20400009 (nzCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)

pc : skb_release_data+0xb8/0x1d8

lr : skb_release_data+0x1ac/0x1d8

sp : ffff8000819a3cc0

x29: ffff8000819a3cc0 x28: ffff0000046daa60 x27: ffff0000057f2dc0

x26: ffff000005386c00 x25: 0000000000000002 x24: 00000000ffffffff

x23: 0000000000000000 x22: 0000000000000001 x21: ffff0000057f2e50

x20: 0000000000000006 x19: 0000000000000000 x18: ffff00003fdacfcc

x17: e69ad452d0c49def x16: 84a005feff870102 x15: 0000000000000000

x14: 000000000000024a x13: 0000000000000002 x12: 0000000000000000

x11: 0000000000000400 x10: 0000000000000930 x9 : ffff00003fd913e8

x8 : fffffc00001bc008

x7 : 0000000000000000 x6 : 0000000000000008

x5 : ffff00003fd91340 x4 : 0000000000000000 x3 : 0000000000000009

x2 : 00000000fffffffe x1 : 0000000000000000 x0 : 0000000000000000

Call trace:

skb_release_data+0xb8/0x1d8

kfree_skb_reason+0x48/0xb0

mse102x_tx_work+0x164/0x35c [mse102x]

process_one_work+0x138/0x260

worker_thread+0x32c/0x438

kthread+0x118/0x11c

ret_from_fork+0x10/0x20

Code: aa1303e0 97fffab6 72001c1f 54000141 (f9400660)

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00664 · 51.1th percentile
Weakness
CWE-415 · Double Free
Published
2024-11-19T07:16Z
Affected products (9)
ProductVersionsFixed in
linux/linux_kernel≥ 5.17, < 6.1.1176.1.117
linux/linux_kernel≥ 6.2, < 6.6.616.6.61
linux/linux_kernel≥ 6.7, < 6.11.86.11.8
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
References (5)
EPSS history
Timeline
  • 19 NOV 01:30Z
    net: vertexcom: mse102x: Fix possible double free of TX skb
    cvelistv5