Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2023-52836

HIGH 7.8EPSS 19%

locking/ww_mutex/test: Fix potential workqueue corruption

Mitigation

  • No fix listed yet: follow the vendor advisory.

Who should check

  • Anyone running Linux >= 2a0c11282881875dc44f166a20eedf0d866dd0ef, < d4d37c9e6a4dbcca958dabd99216550525c7e389; >= 2a0c11282881875dc44f166a20eedf0d866dd0ef, < d8267cabbe1bed15ccf8b0e684c528bf8eeef715; >= 2a0c11282881875dc44f166a20eedf0d866dd0ef, < dcd85e3c929368076a7592b27f541e0da8b427f5; >= 2a0c11282881875dc44f166a20eedf0d866dd0ef, < 9ed2d68b3925145f5f51c46559484881d6082f75; >= 2a0c11282881875dc44f166a20eedf0d866dd0ef, < e89d0ed45a419c485bae999426ecf92697cbdda3; >= 2a0c11282881875dc44f166a20eedf0d866dd0ef, < c56df79d68677cf062da1b6e3b33e74299a92dfc; >= 2a0c11282881875dc44f166a20eedf0d866dd0ef, < e36407713163363e65566e7af0abe207d5f59a0c; >= 2a0c11282881875dc44f166a20eedf0d866dd0ef, < 304a2c4aad0fff887ce493e4197bf9cbaf394479; >= 2a0c11282881875dc44f166a20eedf0d866dd0ef, < bccdd808902f8c677317cec47c306e42b93b849e
  • Anyone running Linux 4.11

Vulnerability facts

Affected
Linux >= 2a0c11282881875dc44f166a20eedf0d866dd0ef, < d4d37c9e6a4dbcca958dabd99216550525c7e389; >= 2a0c11282881875dc44f166a20eedf0d866dd0ef, < d8267cabbe1bed15ccf8b0e684c528bf8eeef715; >= 2a0c11282881875dc44f166a20eedf0d866dd0ef, < dcd85e3c929368076a7592b27f541e0da8b427f5; >= 2a0c11282881875dc44f166a20eedf0d866dd0ef, < 9ed2d68b3925145f5f51c46559484881d6082f75; >= 2a0c11282881875dc44f166a20eedf0d866dd0ef, < e89d0ed45a419c485bae999426ecf92697cbdda3; >= 2a0c11282881875dc44f166a20eedf0d866dd0ef, < c56df79d68677cf062da1b6e3b33e74299a92dfc; >= 2a0c11282881875dc44f166a20eedf0d866dd0ef, < e36407713163363e65566e7af0abe207d5f59a0c; >= 2a0c11282881875dc44f166a20eedf0d866dd0ef, < 304a2c4aad0fff887ce493e4197bf9cbaf394479; >= 2a0c11282881875dc44f166a20eedf0d866dd0ef, < bccdd808902f8c677317cec47c306e42b93b849e; Linux 4.11
Fixed in
Linux 9ed2d68b3925145f5f51c46559484881d6082f75, Linux 304a2c4aad0fff887ce493e4197bf9cbaf394479
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
7.8 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
EPSS
0.33% chance of exploitation in 30 days (percentile 19, 2026-11-26)
CWE
CWE-787
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: locking/ww_mutex/test: Fix potential workqueue corruption In some cases running with the test-ww_mutex code, I was seeing odd behavior where sometimes it seemed flush_workqueue was returning before all the work threads were finished. Often this would cause strange crashes as the mutexes would be freed while they were being used. Looking at the code, there is a lifetime problem as the controlling thread that spawns the work allocates the "struct stress" structures that are passed to the workqueue threads. Then when the workqueue threads are finished, they free the stress struct that was passed to them. Unfortunately the workqueue work_struct node is in the stress struct. Which means the work_struct is freed before the work thread returns and while flush_workqueue is waiting. It seems like a better idea to have the controlling thread both allocate and free the stress structures, so that we can be sure we don't corrupt the workqueue by freeing the structure prematurely. So this patch reworks the test to do so, and with this change I no longer see the early flush_workqueue returns.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 2a0c11282881875dc44f166a20eedf0d866dd0ef, < d4d37c9e6a4dbcca958dabd99216550525c7e389; >= 2a0c11282881875dc44f166a20eedf0d866dd0ef, < d8267cabbe1bed15ccf8b0e684c528bf8eeef715; >= 2a0c11282881875dc44f166a20eedf0d866dd0ef, < dcd85e3c929368076a7592b27f541e0da8b427f5; >= 2a0c11282881875dc44f166a20eedf0d866dd0ef, < 9ed2d68b3925145f5f51c46559484881d6082f75; >= 2a0c11282881875dc44f166a20eedf0d866dd0ef, < e89d0ed45a419c485bae999426ecf92697cbdda3; >= 2a0c11282881875dc44f166a20eedf0d866dd0ef, < c56df79d68677cf062da1b6e3b33e74299a92dfc; >= 2a0c11282881875dc44f166a20eedf0d866dd0ef, < e36407713163363e65566e7af0abe207d5f59a0c; >= 2a0c11282881875dc44f166a20eedf0d866dd0ef, < 304a2c4aad0fff887ce493e4197bf9cbaf394479; >= 2a0c11282881875dc44f166a20eedf0d866dd0ef, < bccdd808902f8c677317cec47c306e42b93b849e—cvelist
Linux4.11—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2023-52836. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-52836.md
Affected: Linux >= 2a0c11282881875dc44f166a20eedf0d866dd0ef, < d4d37c9e6a4dbcca958dabd99216550525c7e389; >= 2a0c11282881875dc44f166a20eedf0d866dd0ef, < d8267cabbe1bed15ccf8b0e684c528bf8eeef715; >= 2a0c11282881875dc44f166a20eedf0d866dd0ef, < dcd85e3c929368076a7592b27f541e0da8b427f5; >= 2a0c11282881875dc44f166…
Fixed in: Linux 9ed2d68b3925145f5f51c46559484881d6082f75, Linux 304a2c4aad0fff887ce493e4197bf9cbaf394479

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2023-52836 being exploited?

There is no confirmed exploitation: CVE-2023-52836 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.33% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2023-52836?

High: CVSS 7.8 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2023-52836?

Linux >= 2a0c11282881875dc44f166a20eedf0d866dd0ef, < d4d37c9e6a4dbcca958dabd99216550525c7e389; >= 2a0c11282881875dc44f166a20eedf0d866dd0ef, < d8267cabbe1bed15ccf8b0e684c528bf8eeef715; >= 2a0c11282881875dc44f166a20eedf0d866dd0ef, < dcd85e3c929368076a7592b27f541e0da8b427f5; >= 2a0c11282881875dc44f166a20eedf0d866dd0ef, < 9ed2d68b3925145f5f51c46559484881d6082f75; >= 2a0c11282881875dc44f166a20eedf0d866dd0ef, < e89d0ed45a419c485bae999426ecf92697cbdda3; >= 2a0c11282881875dc44f166a20eedf0d866dd0ef, < c56df79d68677cf062da1b6e3b33e74299a92dfc; >= 2a0c11282881875dc44f166a20eedf0d866dd0ef, < e36407713163363e65566e7af0abe207d5f59a0c; >= 2a0c11282881875dc44f166a20eedf0d866dd0ef, < 304a2c4aad0fff887ce493e4197bf9cbaf394479; >= 2a0c11282881875dc44f166a20eedf0d866dd0ef, < bccdd808902f8c677317cec47c306e42b93b849e; Linux 4.11.

Is there a fix for CVE-2023-52836?

Yes. Fixed in Linux 9ed2d68b3925145f5f51c46559484881d6082f75, Linux 304a2c4aad0fff887ce493e4197bf9cbaf394479. No fix listed yet: follow the vendor advisory.

How do I check if I'm affected by CVE-2023-52836?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors