{"id":"CVE-2026-99058","state":"PUBLISHED","title":"workqueue: Fix NULL current_pwq deref in chained work check","description":"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->current_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->current_pwq is\nNULL, and the chained-work test can fault before it emits the intended\nwarning.\n\nGuard the chained-work test with worker->current_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.","publishedAt":"2026-10-23T12:22:45.920Z","updatedAt":"2026-10-30T12:41:24.511Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"8d03ecfe471802d6afe97da97722b6924533aa82","status":"affected","lessThan":"73bec442f913855907b63225306dd162c18e5c71","versionType":"git"},{"version":"8d03ecfe471802d6afe97da97722b6924533aa82","status":"affected","lessThan":"6877de2c75f0dd342099a1357856e6c8d474abc3","versionType":"git"},{"version":"8d03ecfe471802d6afe97da97722b6924533aa82","status":"affected","lessThan":"54361e4924c2c52a501b74ef10217c32f45fccfa","versionType":"git"},{"version":"8d03ecfe471802d6afe97da97722b6924533aa82","status":"affected","lessThan":"3dc61af2998cfc7312d6e59bbdcd5eed074483f2","versionType":"git"},{"version":"8d03ecfe471802d6afe97da97722b6924533aa82","status":"affected","lessThan":"729d576df89c7e4341e58c452f8890620a610ac2","versionType":"git"},{"version":"8d03ecfe471802d6afe97da97722b6924533aa82","status":"affected","lessThan":"b12a25fb2b9d5dac80e419d695450cc17a51fdfd","versionType":"git"},{"version":"8d03ecfe471802d6afe97da97722b6924533aa82","status":"affected","lessThan":"1a2668682e998039a027796b236319b380078a6a","versionType":"git"},{"version":"8d03ecfe471802d6afe97da97722b6924533aa82","status":"affected","lessThan":"980db94e3eeefdd8a1c46f86412c33a7f7806f51","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["kernel/workqueue.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.9","status":"affected"},{"version":"0","status":"unaffected","lessThan":"3.9","versionType":"semver"},{"version":"5.10.273","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.224","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.191","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.160","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.113","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.57","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.11","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["kernel/workqueue.c"]}],"references":["https://git.kernel.org/stable/c/73bec442f913855907b63225306dd162c18e5c71","https://git.kernel.org/stable/c/6877de2c75f0dd342099a1357856e6c8d474abc3","https://git.kernel.org/stable/c/54361e4924c2c52a501b74ef10217c32f45fccfa","https://git.kernel.org/stable/c/3dc61af2998cfc7312d6e59bbdcd5eed074483f2","https://git.kernel.org/stable/c/729d576df89c7e4341e58c452f8890620a610ac2","https://git.kernel.org/stable/c/b12a25fb2b9d5dac80e419d695450cc17a51fdfd","https://git.kernel.org/stable/c/1a2668682e998039a027796b236319b380078a6a","https://git.kernel.org/stable/c/980db94e3eeefdd8a1c46f86412c33a7f7806f51"],"weaknesses":[],"ingestedAt":"2026-10-30T13:02:04.640Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/99xxx/CVE-2026-99058.json","commit":"cb14bf1b43b0c9f05f7f40eae2246263fd430780","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-99058","state":"PUBLISHED","datePublished":"2026-10-23T12:22:45.920Z","dateUpdated":"2026-10-30T12:41:24.511Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-09-25T10:25:14.388Z"},"containers":{"cna":{"title":"workqueue: Fix NULL current_pwq deref in chained work check","descriptions":[{"lang":"en","value":"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->current_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->current_pwq is\nNULL, and the chained-work test can fault before it emits the intended\nwarning.\n\nGuard the chained-work test with worker->current_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."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"8d03ecfe471802d6afe97da97722b6924533aa82","status":"affected","lessThan":"73bec442f913855907b63225306dd162c18e5c71","versionType":"git"},{"version":"8d03ecfe471802d6afe97da97722b6924533aa82","status":"affected","lessThan":"6877de2c75f0dd342099a1357856e6c8d474abc3","versionType":"git"},{"version":"8d03ecfe471802d6afe97da97722b6924533aa82","status":"affected","lessThan":"54361e4924c2c52a501b74ef10217c32f45fccfa","versionType":"git"},{"version":"8d03ecfe471802d6afe97da97722b6924533aa82","status":"affected","lessThan":"3dc61af2998cfc7312d6e59bbdcd5eed074483f2","versionType":"git"},{"version":"8d03ecfe471802d6afe97da97722b6924533aa82","status":"affected","lessThan":"729d576df89c7e4341e58c452f8890620a610ac2","versionType":"git"},{"version":"8d03ecfe471802d6afe97da97722b6924533aa82","status":"affected","lessThan":"b12a25fb2b9d5dac80e419d695450cc17a51fdfd","versionType":"git"},{"version":"8d03ecfe471802d6afe97da97722b6924533aa82","status":"affected","lessThan":"1a2668682e998039a027796b236319b380078a6a","versionType":"git"},{"version":"8d03ecfe471802d6afe97da97722b6924533aa82","status":"affected","lessThan":"980db94e3eeefdd8a1c46f86412c33a7f7806f51","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["kernel/workqueue.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.9","status":"affected"},{"version":"0","status":"unaffected","lessThan":"3.9","versionType":"semver"},{"version":"5.10.273","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.224","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.191","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.160","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.113","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.57","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.11","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["kernel/workqueue.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/73bec442f913855907b63225306dd162c18e5c71"},{"url":"https://git.kernel.org/stable/c/6877de2c75f0dd342099a1357856e6c8d474abc3"},{"url":"https://git.kernel.org/stable/c/54361e4924c2c52a501b74ef10217c32f45fccfa"},{"url":"https://git.kernel.org/stable/c/3dc61af2998cfc7312d6e59bbdcd5eed074483f2"},{"url":"https://git.kernel.org/stable/c/729d576df89c7e4341e58c452f8890620a610ac2"},{"url":"https://git.kernel.org/stable/c/b12a25fb2b9d5dac80e419d695450cc17a51fdfd"},{"url":"https://git.kernel.org/stable/c/1a2668682e998039a027796b236319b380078a6a"},{"url":"https://git.kernel.org/stable/c/980db94e3eeefdd8a1c46f86412c33a7f7806f51"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-30T12:41:24.511Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.9","versionEndExcluding":"5.10.273"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.9","versionEndExcluding":"5.15.224"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.9","versionEndExcluding":"6.1.191"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.9","versionEndExcluding":"6.6.160"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.9","versionEndExcluding":"6.12.113"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.9","versionEndExcluding":"6.18.57"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.9","versionEndExcluding":"7.2.11"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.9","versionEndExcluding":"7.3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}