kernel/fork: clear PF_BLOCK_TS in copy_process()
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 6.18.38, Kernel 7.1.3, Kernel 6.12.95 and 4 more.
In the Linux kernel, the following vulnerability has been resolved: kernel/fork: clear PF_BLOCK_TS in copy_process() PF_BLOCK_TS is only set in blk_time_get_ns() when current->plug is non-NULL, and blk_finish_plug() clears it via __blk_flush_plug() before NULLing the plug pointer. copy_process() breaks the invariant by inheriting PF_BLOCK_TS from the parent while resetting the child's plug to NULL. Clear PF_BLOCK_TS alongside that assignment so callers can rely on "PF_BLOCK_TS set implies current->plug != NULL" and dereference current->plug unguarded.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=6.13 <6.18.38, >=6.19 <7.1.3, >=6.9 <6.12.95, >=06b23f92af87a84d70881b2ecaa72e00f7838264 <99e6c712cc300883b8cbf03347d5359ec1a4d6dd, >=06b23f92af87a84d70881b2ecaa72e00f7838264 <ee0801aceabdf583392477baf69a290b09448b8f, >=06b23f92af87a84d70881b2ecaa72e00f7838264 <fd38b75c4b43295b10d69772a46d1c74dbd6fc81, =6.9, >=06b23f92af87a84d70881b2ecaa72e00f7838264 <77bba61a20f1b3d206f4f90e10a7bb3cd90b9619 | 6.18.38, 7.1.3, 6.12.95, 99e6c712cc300883b8cbf03347d5359ec1a4d6dd, ee0801aceabdf583392477baf69a290b09448b8f, fd38b75c4b43295b10d69772a46d1c74dbd6fc81, 77bba61a20f1b3d206f4f90e10a7bb3cd90b9619 |
| linux-kernel: Kernel | >=6.13.0 <6.18.38, >=6.19.0 <7.1.3, >=6.9.0 <6.12.95 | 6.18.38, 7.1.3, 6.12.95 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket