Commit 832ecbf
tools/libs/light: fix BAR memory address truncation
64-bit BAR memory address is truncated when removing a passthrough
pci device from guest since it uses "unsigned int".
So, change to use 64-bit type to fix this problem.
This is XSA-476 / CVE-2025-58149.
Fixes: b0a1af6 ("libxenlight: implement pci passthrough")
Signed-off-by: Jiqian Chen <Jiqian.Chen@amd.com>
Release-Acked-by: Oleksii Kurochko <oleksii.kurochko@gmail.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
Acked-by: Anthony PERARD <anthony.perard@vates.tech>
(cherry picked from commit 421432b)1 parent 9143406 commit 832ecbf
1 file changed
+5
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2168 | 2168 | | |
2169 | 2169 | | |
2170 | 2170 | | |
2171 | | - | |
| 2171 | + | |
2172 | 2172 | | |
2173 | 2173 | | |
2174 | 2174 | | |
| |||
2198 | 2198 | | |
2199 | 2199 | | |
2200 | 2200 | | |
2201 | | - | |
| 2201 | + | |
| 2202 | + | |
2202 | 2203 | | |
2203 | 2204 | | |
2204 | 2205 | | |
| |||
2207 | 2208 | | |
2208 | 2209 | | |
2209 | 2210 | | |
2210 | | - | |
| 2211 | + | |
2211 | 2212 | | |
2212 | 2213 | | |
2213 | 2214 | | |
| |||
2217 | 2218 | | |
2218 | 2219 | | |
2219 | 2220 | | |
2220 | | - | |
| 2221 | + | |
2221 | 2222 | | |
2222 | 2223 | | |
2223 | 2224 | | |
| |||
0 commit comments