CVE-2026-46047

net: qrtr: ns: Fix use-after-free in driver remove()

En bref

Sévérité
Non disponible
EPSS
EPSS 0.13 % · centile 2 (2026-10-27)
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Modified

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.

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · nvd@nist.gov (Primary)

Faiblesses (CWE)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected 0c2204a4ad710d95d348ea006f14ba926e842ffd < 65168712c216584ff482a7d1a67589f2079b2634 ; affected 0c2204a4ad710d95d348ea006f14ba926e842ffd < dff081c3602f2fd810f69ef47945a226980dd05d ; affected 0c2204a4ad710d95d348ea006f14ba926e842ffd < 4ae0bd51bf7079e9c2a06b5de0ae04ba70d10167 ; affected 0c2204a4ad710d95d348ea006f14ba926e842ffd < 0f313eb6a8f6dffa491373cf3afab979fa1c02f4 ; affected 0c2204a4ad710d95d348ea006f14ba926e842ffd < db3c60ec772de30acae92d560dfcc5258e58dbe8 ; affected 0c2204a4ad710d95d348ea006f14ba926e842ffd < 2e127ceb1c415e246076d8e09e23e443a7a2038f
Linux · Linuxaffected 5.7 ; unaffected 0 < 5.7 ; unaffected 5.10.258 ≤ 5.10.* ; unaffected 5.15.209 ≤ 5.15.* ; unaffected 6.1.175 ≤ 6.1.* ; unaffected 6.6.140 ≤ 6.6.*

Références

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD