btrfs: send: handle path ref underflow in header iterate_inode_ref()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 31db9f7c23fbf7e95026143f79645de6507b583b · < c1363ed8867b81ea169fba2ccc14af96a85ed183| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
btrfs: send: handle path ref underflow in header iterate_inode_ref()
Change BUG_ON to proper error handling if building the path buffer fails. The pointers are not printed so we don't accidentally leak kernel addresses.
From the CVE record · Linux
The Linux kernel’s btrfs send code does not properly handle a path-buffer build failure in iterate_inode_ref(), triggering a BUG_ON instead of returning an error. The fix also avoids printing pointers that could leak kernel addresses; the input does not specify how an attacker could trigger the flaw or whether access or user interaction is required.
Anyone running the Linux kernel should check their version against the vendor advisory; affected versions are not specified in the input.