NFSv4.1: zero referring call lists before decoding
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in Kernel f4d23937e1c41995c2f54af26c89b5e48a41c299, Kernel 7510a5b9edec9d9536a4e69f10edfb2592e6cf7f, Kernel 810f6b3a29ac96fdc16909132b31627dae6824c2 and 8 more.
In the Linux kernel, the following vulnerability has been resolved: NFSv4.1: zero referring call lists before decoding decode_cb_sequence_args() allocates csa_rclists with kmalloc_objs(), so each referring_call_list starts uninitialized. decode_rc_list() assigns rcl_refcalls only when rcl_nrefcalls is nonzero. A valid list with zero referring calls therefore leaves the pointer uninitialized, and nfs4_callback_sequence() later passes stale slab contents to kfree(). Allocate csa_rclists with kzalloc_objs() so every rcl_refcalls member is NULL from the beginning, including valid empty referring call lists.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=4aece6a19cf7f474f15eb861ba74db4479884ce3 <f4d23937e1c41995c2f54af26c89b5e48a41c299, >=4aece6a19cf7f474f15eb861ba74db4479884ce3 <7510a5b9edec9d9536a4e69f10edfb2592e6cf7f, >=4aece6a19cf7f474f15eb861ba74db4479884ce3 <810f6b3a29ac96fdc16909132b31627dae6824c2, >=4aece6a19cf7f474f15eb861ba74db4479884ce3 <8fa4804fe62ca4155a2d8fc2789d630376cbf2fc, >=4aece6a19cf7f474f15eb861ba74db4479884ce3 <ed54460caf5b5aa65ec03c9a6032d831f39f19f5, >=4aece6a19cf7f474f15eb861ba74db4479884ce3 <f31f3c042e024aef437cda42f0424ae8d4594b6c, =2.6.31 | f4d23937e1c41995c2f54af26c89b5e48a41c299, 7510a5b9edec9d9536a4e69f10edfb2592e6cf7f, 810f6b3a29ac96fdc16909132b31627dae6824c2, 8fa4804fe62ca4155a2d8fc2789d630376cbf2fc, ed54460caf5b5aa65ec03c9a6032d831f39f19f5, f31f3c042e024aef437cda42f0424ae8d4594b6c |
| linux-kernel: Kernel | >=6.13.0 <6.18.57, >=6.19.0 <7.2.6, >=6.2.0 <6.6.160, >=6.7.0 <6.12.114, >=2.6.31 <6.1.191 | 6.18.57, 7.2.6, 6.6.160, 6.12.114, 6.1.191 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket