{"api_version":"1","generated_at":"2026-05-31T10:36:55+00:00","cve":"CVE-2026-46047","urls":{"html":"https://cve.report/CVE-2026-46047","api":"https://cve.report/api/cve/CVE-2026-46047.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-46047","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-46047"},"summary":{"title":"net: qrtr: ns: Fix use-after-free in driver remove()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: qrtr: ns: Fix use-after-free in driver remove()\n\nIn the remove callback, if a packet arrives after destroy_workqueue() is\ncalled, but before sock_release(), the qrtr_ns_data_ready() callback will\ntry to queue the work, causing use-after-free issue.\n\nFix this issue by saving the default 'sk_data_ready' callback during\nqrtr_ns_init() and use it to replace the qrtr_ns_data_ready() callback at\nthe start of remove(). This ensures that even if a packet arrives after\ndestroy_workqueue(), the work struct will not be dereferenced.\n\nNote that it is also required to ensure that the RX threads are completed\nbefore destroying the workqueue, because the threads could be using the\nqrtr_ns_data_ready() callback.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-05-27 14:17:24","updated_at":"2026-05-27 14:48:03"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/db3c60ec772de30acae92d560dfcc5258e58dbe8","name":"https://git.kernel.org/stable/c/db3c60ec772de30acae92d560dfcc5258e58dbe8","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/0f313eb6a8f6dffa491373cf3afab979fa1c02f4","name":"https://git.kernel.org/stable/c/0f313eb6a8f6dffa491373cf3afab979fa1c02f4","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/2e127ceb1c415e246076d8e09e23e443a7a2038f","name":"https://git.kernel.org/stable/c/2e127ceb1c415e246076d8e09e23e443a7a2038f","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/7809fea20c9404bfcfa6112ec08d1fe1d3520beb","name":"https://git.kernel.org/stable/c/7809fea20c9404bfcfa6112ec08d1fe1d3520beb","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/f96779e916576e81430ebb326baff6e433fef8ae","name":"https://git.kernel.org/stable/c/f96779e916576e81430ebb326baff6e433fef8ae","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-46047","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-46047","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 0c2204a4ad710d95d348ea006f14ba926e842ffd 0f313eb6a8f6dffa491373cf3afab979fa1c02f4 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 0c2204a4ad710d95d348ea006f14ba926e842ffd db3c60ec772de30acae92d560dfcc5258e58dbe8 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 0c2204a4ad710d95d348ea006f14ba926e842ffd 2e127ceb1c415e246076d8e09e23e443a7a2038f git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 0c2204a4ad710d95d348ea006f14ba926e842ffd f96779e916576e81430ebb326baff6e433fef8ae git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 0c2204a4ad710d95d348ea006f14ba926e842ffd 7809fea20c9404bfcfa6112ec08d1fe1d3520beb git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.7","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.7 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.140 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.86 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.27 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.0.4 7.0.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.1-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"46047","cve":"CVE-2026-46047","epss":"0.000180000","percentile":"0.051570000","score_date":"2026-05-30","updated_at":"2026-05-31 00:14:03"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["net/qrtr/ns.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"0f313eb6a8f6dffa491373cf3afab979fa1c02f4","status":"affected","version":"0c2204a4ad710d95d348ea006f14ba926e842ffd","versionType":"git"},{"lessThan":"db3c60ec772de30acae92d560dfcc5258e58dbe8","status":"affected","version":"0c2204a4ad710d95d348ea006f14ba926e842ffd","versionType":"git"},{"lessThan":"2e127ceb1c415e246076d8e09e23e443a7a2038f","status":"affected","version":"0c2204a4ad710d95d348ea006f14ba926e842ffd","versionType":"git"},{"lessThan":"f96779e916576e81430ebb326baff6e433fef8ae","status":"affected","version":"0c2204a4ad710d95d348ea006f14ba926e842ffd","versionType":"git"},{"lessThan":"7809fea20c9404bfcfa6112ec08d1fe1d3520beb","status":"affected","version":"0c2204a4ad710d95d348ea006f14ba926e842ffd","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["net/qrtr/ns.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"5.7"},{"lessThan":"5.7","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.140","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.86","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.27","versionType":"semver"},{"lessThanOrEqual":"7.0.*","status":"unaffected","version":"7.0.4","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.1-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.140","versionStartIncluding":"5.7","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.86","versionStartIncluding":"5.7","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.27","versionStartIncluding":"5.7","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.0.4","versionStartIncluding":"5.7","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.1-rc1","versionStartIncluding":"5.7","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: qrtr: ns: Fix use-after-free in driver remove()\n\nIn the remove callback, if a packet arrives after destroy_workqueue() is\ncalled, but before sock_release(), the qrtr_ns_data_ready() callback will\ntry to queue the work, causing use-after-free issue.\n\nFix this issue by saving the default 'sk_data_ready' callback during\nqrtr_ns_init() and use it to replace the qrtr_ns_data_ready() callback at\nthe start of remove(). This ensures that even if a packet arrives after\ndestroy_workqueue(), the work struct will not be dereferenced.\n\nNote that it is also required to ensure that the RX threads are completed\nbefore destroying the workqueue, because the threads could be using the\nqrtr_ns_data_ready() callback."}],"providerMetadata":{"dateUpdated":"2026-05-27T12:57:03.471Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/0f313eb6a8f6dffa491373cf3afab979fa1c02f4"},{"url":"https://git.kernel.org/stable/c/db3c60ec772de30acae92d560dfcc5258e58dbe8"},{"url":"https://git.kernel.org/stable/c/2e127ceb1c415e246076d8e09e23e443a7a2038f"},{"url":"https://git.kernel.org/stable/c/f96779e916576e81430ebb326baff6e433fef8ae"},{"url":"https://git.kernel.org/stable/c/7809fea20c9404bfcfa6112ec08d1fe1d3520beb"}],"title":"net: qrtr: ns: Fix use-after-free in driver remove()","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-46047","datePublished":"2026-05-27T12:57:03.471Z","dateReserved":"2026-05-13T15:03:33.094Z","dateUpdated":"2026-05-27T12:57:03.471Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-05-27 14:17:24","lastModifiedDate":"2026-05-27 14:48:03","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"46047","Ordinal":"1","Title":"net: qrtr: ns: Fix use-after-free in driver remove()","CVE":"CVE-2026-46047","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"46047","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: qrtr: ns: Fix use-after-free in driver remove()\n\nIn the remove callback, if a packet arrives after destroy_workqueue() is\ncalled, but before sock_release(), the qrtr_ns_data_ready() callback will\ntry to queue the work, causing use-after-free issue.\n\nFix this issue by saving the default 'sk_data_ready' callback during\nqrtr_ns_init() and use it to replace the qrtr_ns_data_ready() callback at\nthe start of remove(). This ensures that even if a packet arrives after\ndestroy_workqueue(), the work struct will not be dereferenced.\n\nNote that it is also required to ensure that the RX threads are completed\nbefore destroying the workqueue, because the threads could be using the\nqrtr_ns_data_ready() callback.","Type":"Description","Title":"net: qrtr: ns: Fix use-after-free in driver remove()"}]}}}