diff options
| author | Pawan Gupta <[email protected]> | 2025-06-11 17:30:33 +0000 |
|---|---|---|
| committer | Borislav Petkov (AMD) <[email protected]> | 2025-06-24 12:12:41 +0000 |
| commit | ab9f2388e0b99cd164ddbd74a6133d3070e2788d (patch) | |
| tree | 6124b08b4c1cd34d08746b5e2e9bd78ee0e48f30 /net/unix/af_unix.c | |
| parent | x86/bugs: Remove its=stuff dependency on retbleed (diff) | |
| download | kernel-ab9f2388e0b99cd164ddbd74a6133d3070e2788d.tar.gz kernel-ab9f2388e0b99cd164ddbd74a6133d3070e2788d.zip | |
x86/bugs: Allow ITS stuffing in eIBRS+retpoline mode also
After a recent restructuring of the ITS mitigation, RSB stuffing can no longer
be enabled in eIBRS+Retpoline mode. Before ITS, retbleed mitigation only
allowed stuffing when eIBRS was not enabled. This was perfectly fine since
eIBRS mitigates retbleed.
However, RSB stuffing mitigation for ITS is still needed with eIBRS. The
restructuring solely relies on retbleed to deploy stuffing, and does not allow
it when eIBRS is enabled. This behavior is different from what was before the
restructuring. Fix it by allowing stuffing in eIBRS+retpoline mode also.
Fixes: 61ab72c2c6bf ("x86/bugs: Restructure ITS mitigation")
Closes: https://lore.kernel.org/lkml/20250519235101.2vm6sc5txyoykb2r@desk/
Signed-off-by: Pawan Gupta <[email protected]>
Signed-off-by: Borislav Petkov (AMD) <[email protected]>
Link: https://lore.kernel.org/[email protected]
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
