cveboard RSS feed

CVE-2023-52836

CVE.org · Published

Historical CVEsJSONAI instructions

Record status
Published
Identifier year (not publication year)
2023
Source publication
Source updated
Imported by cveboard
Source snapshot
cve_2026-10-24_midnight_baseline ·

Plain text

CNA source text (English)

locking/ww_mutex/test: Fix potential workqueue corruption

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.

Scoped product and version facts

Fix information unknown; no fixed version is derived here. Missing information does not prove that no fix exists.

Exploitation unknown; this catalogue does not assess exploitation.

Linux

Vendor
Linux
Product
Linux
Platforms
Unknown
Default status
unaffected
Linux · Scoped product and version facts
Version (version)Status (status)Version scheme (versionType)Exclusive end (lessThan)Inclusive end (lessThanOrEqual)Status changes (at → status)
2a0c11282881875dc44f166a20eedf0d866dd0efaffectedgitd4d37c9e6a4dbcca958dabd99216550525c7e389UnavailableNone listed
2a0c11282881875dc44f166a20eedf0d866dd0efaffectedgitd8267cabbe1bed15ccf8b0e684c528bf8eeef715UnavailableNone listed
2a0c11282881875dc44f166a20eedf0d866dd0efaffectedgitdcd85e3c929368076a7592b27f541e0da8b427f5UnavailableNone listed
2a0c11282881875dc44f166a20eedf0d866dd0efaffectedgit9ed2d68b3925145f5f51c46559484881d6082f75UnavailableNone listed
2a0c11282881875dc44f166a20eedf0d866dd0efaffectedgite89d0ed45a419c485bae999426ecf92697cbdda3UnavailableNone listed
2a0c11282881875dc44f166a20eedf0d866dd0efaffectedgitc56df79d68677cf062da1b6e3b33e74299a92dfcUnavailableNone listed
2a0c11282881875dc44f166a20eedf0d866dd0efaffectedgite36407713163363e65566e7af0abe207d5f59a0cUnavailableNone listed
2a0c11282881875dc44f166a20eedf0d866dd0efaffectedgit304a2c4aad0fff887ce493e4197bf9cbaf394479UnavailableNone listed
2a0c11282881875dc44f166a20eedf0d866dd0efaffectedgitbccdd808902f8c677317cec47c306e42b93b849eUnavailableNone listed

Linux

Vendor
Linux
Product
Linux
Platforms
Unknown
Default status
affected
Linux · Scoped product and version facts
Version (version)Status (status)Version scheme (versionType)Exclusive end (lessThan)Inclusive end (lessThanOrEqual)Status changes (at → status)
4.11affectedUnavailableUnavailableUnavailableNone listed
0unaffectedsemver4.11UnavailableNone listed
4.14.331unaffectedsemverUnavailable4.14.*None listed
4.19.300unaffectedsemverUnavailable4.19.*None listed
5.4.262unaffectedsemverUnavailable5.4.*None listed
5.10.202unaffectedsemverUnavailable5.10.*None listed
5.15.140unaffectedsemverUnavailable5.15.*None listed
6.1.64unaffectedsemverUnavailable6.1.*None listed
6.5.13unaffectedsemverUnavailable6.5.*None listed
6.6.3unaffectedsemverUnavailable6.6.*None listed
6.7unaffectedoriginal_commit_for_fixUnavailable*None listed