Skip to main content

In the Linux kernel, the following vulnerability has been resolved: workqueue: Fix NULL current_pwq deref in flush dependency check… (CVE-2026-98537)

0
Medium
Published: 10/18/2026 (10/18/2026, 18:31:53 UTC)
Source: GCVE Database

Description

A vulnerability in the Linux kernel's workqueue subsystem was resolved that involved a NULL pointer dereference in the flush dependency check. The flaw occurred because the check_flush_dependency() function dereferenced worker->current_pwq without ensuring it was non-NULL, which could happen when a kworker thread was not executing a work item. This could lead to a kernel warning or potential instability during memory reclaim operations.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/18/2026, 20:34:23 UTC

Technical Analysis

The Linux kernel vulnerability CVE-2026-98537 involves a NULL pointer dereference in the workqueue subsystem's flush dependency check. Specifically, check_flush_dependency() uses current_wq_worker() to identify if the caller is a workqueue worker and then dereferences worker->current_pwq to check if the current workqueue is WQ_MEM_RECLAIM. However, current_wq_worker() only indicates that the current task has PF_WQ_WORKER set, not that it is actively executing a work item. In some execution paths, such as when the worker_thread() acts as a pool manager during GFP_KERNEL allocations that trigger OOM notifiers, worker->current_pwq can be NULL because it is only set during process_one_work() execution. The fix adds a guard to ensure worker->current_pwq is non-NULL before dereferencing, preventing the NULL pointer dereference and associated warnings.

Potential Impact

This vulnerability could cause kernel warnings or instability due to dereferencing a NULL pointer in the workqueue flush dependency check. It affects kernel stability during memory reclaim and allocation paths involving workqueue workers. There is no indication of remote code execution or privilege escalation from the provided data.

Mitigation Recommendations

A fix is available that adds a guard to check that worker->current_pwq is non-NULL before dereferencing in check_flush_dependency(). Users should update to the patched Linux kernel version that includes this fix. No additional mitigations are indicated.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-6w2x-9phq-jcjc
Osv Schema Version
1.4.0
Aliases
["CVE-2026-98537"]

Threat ID: 6ad520af2cdf04f656993acc

Added to database: 10/18/2026, 19:40:31 UTC

Last enriched: 10/18/2026, 20:34:23 UTC

Last updated: 10/18/2026, 22:02:57 UTC

Views: 2

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses