{"id":"CVE-2026-99058","summary":"workqueue: Fix NULL current_pwq deref in chained work check","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nworkqueue: Fix NULL current_pwq deref in chained work check\n\ncurrent_wq_worker() only tells us that %current is a kworker. It does\nnot guarantee that the worker is currently executing a work item, as\nworker-\u003ecurrent_pwq is populated only while process_one_work() is running\nthe work function.\n\nis_chained_work() can be reached while queueing on a draining or\ndestroying workqueue. If a kworker outside work-item execution reaches\nthat path, current_wq_worker() returns a worker but worker-\u003ecurrent_pwq is\nNULL, and the chained-work test can fault before it emits the intended\nwarning.\n\nGuard the chained-work test with worker-\u003ecurrent_pwq. A kworker without\ncurrent_pwq is not executing work on the target workqueue, so the helper\nshould return false and let the draining/destroying warning fire.","modified":"2026-11-01T02:34:56.941196185Z","published":"2026-10-23T12:22:45.920Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99058.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/1a2668682e998039a027796b236319b380078a6a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3dc61af2998cfc7312d6e59bbdcd5eed074483f2"},{"type":"WEB","url":"https://git.kernel.org/stable/c/54361e4924c2c52a501b74ef10217c32f45fccfa"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6877de2c75f0dd342099a1357856e6c8d474abc3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/729d576df89c7e4341e58c452f8890620a610ac2"},{"type":"WEB","url":"https://git.kernel.org/stable/c/73bec442f913855907b63225306dd162c18e5c71"},{"type":"WEB","url":"https://git.kernel.org/stable/c/980db94e3eeefdd8a1c46f86412c33a7f7806f51"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b12a25fb2b9d5dac80e419d695450cc17a51fdfd"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99058.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99058"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"8d03ecfe471802d6afe97da97722b6924533aa82"},{"fixed":"73bec442f913855907b63225306dd162c18e5c71"},{"fixed":"6877de2c75f0dd342099a1357856e6c8d474abc3"},{"fixed":"54361e4924c2c52a501b74ef10217c32f45fccfa"},{"fixed":"3dc61af2998cfc7312d6e59bbdcd5eed074483f2"},{"fixed":"729d576df89c7e4341e58c452f8890620a610ac2"},{"fixed":"b12a25fb2b9d5dac80e419d695450cc17a51fdfd"},{"fixed":"1a2668682e998039a027796b236319b380078a6a"},{"fixed":"980db94e3eeefdd8a1c46f86412c33a7f7806f51"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-99058.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.9.0"},{"fixed":"5.10.273"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.224"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.191"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.160"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.113"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.57"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.2.11"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-99058.json"}}],"schema_version":"1.9.2"}