nfsd: initialize DRC hash table before registering shrinker
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel f060f43a67635dbb393bf5dcbfc3e8b9a44942cb, Kernel 431c70ca5163c98c746f22f16cd58ca5aefec6dc, Kernel b0c58934f5cc4f05b63ef6605dd10c1d0d489e88 and 4 more.
In the Linux kernel, the following vulnerability has been resolved: nfsd: initialize DRC hash table before registering shrinker shrinker_register() precedes the INIT_LIST_HEAD loop and the drc_hashsize store. On weakly-ordered architectures (arm64, ppc), a shrinker scan can observe drc_hashsize before the bucket list heads are initialized, causing a NULL deref in the DRC shrinker callback. Move bucket initialization and the drc_hashsize store before shrinker_register() so the hash table is fully initialized before it becomes visible to the shrinker.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=8eea99a81c6f67c08fedd7db2ccd09aa93db69a7 <f060f43a67635dbb393bf5dcbfc3e8b9a44942cb, >=8eea99a81c6f67c08fedd7db2ccd09aa93db69a7 <431c70ca5163c98c746f22f16cd58ca5aefec6dc, >=8eea99a81c6f67c08fedd7db2ccd09aa93db69a7 <b0c58934f5cc4f05b63ef6605dd10c1d0d489e88, >=8eea99a81c6f67c08fedd7db2ccd09aa93db69a7 <b57bd8cb739cb3cf88bdb1a5903a42a707a5c282, =6.7 | f060f43a67635dbb393bf5dcbfc3e8b9a44942cb, 431c70ca5163c98c746f22f16cd58ca5aefec6dc, b0c58934f5cc4f05b63ef6605dd10c1d0d489e88, b57bd8cb739cb3cf88bdb1a5903a42a707a5c282 |
| linux-kernel: Kernel | >=6.19.0 <7.2.4, >=6.7.0 <6.12.109, >=6.13.0 <6.18.50 | 7.2.4, 6.12.109, 6.18.50 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket