CVEvulnerability

CVE-2026-46047

7.8 HIGH Published 2026-05-27 Modified 2026-10-15 Official page ↗
Status
Modified
Published
2026-05-27
Last modified
2026-10-15
Assigner
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS 3.1 ([email protected])
7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-416

Description

In the Linux kernel, the following vulnerability has been resolved: net: qrtr: ns: Fix use-after-free in driver remove() In the remove callback, if a packet arrives after destroy_workqueue() is called, but before sock_release(), the qrtr_ns_data_ready() callback will try to queue the work, causing use-after-free issue. Fix this issue by saving the default 'sk_data_ready' callback during qrtr_ns_init() and use it to replace the qrtr_ns_data_ready() callback at the start of remove(). This ensures that even if a packet arrives after destroy_workqueue(), the work struct will not be dereferenced. Note that it is also required to ensure that the RX threads are completed before destroying the workqueue, because the threads could be using the qrtr_ns_data_ready() callback.

Affected configurations

• linux linux kernel (>= 5.7 < 5.10.258) • linux linux kernel (>= 5.11 < 5.15.209) • linux linux kernel (>= 5.16 < 6.1.175) • linux linux kernel (>= 6.2 < 6.6.140) • linux linux kernel (>= 6.7 < 6.12.86) • linux linux kernel (>= 6.13 < 6.18.27) • linux linux kernel (>= 6.19 < 7.0.4)

Related

Weakness · CWE (1)

References