{"id":"DEBIAN-CVE-2022-49963","details":"In the Linux kernel, the following vulnerability has been resolved:  drm/i915/ttm: fix CCS handling  Crucible + recent Mesa seems to sometimes hit:  GEM_BUG_ON(num_ccs_blks \u003e NUM_CCS_BLKS_PER_XFER)  And it looks like we can also trigger this with gem_lmem_swapping, if we modify the test to use slightly larger object sizes.  Looking closer it looks like we have the following issues in migrate_copy():    - We are using plain integer in various places, which we can easily     overflow with a large object.    - We pass the entire object size (when the src is lmem) into     emit_pte() and then try to copy it, which doesn't work, since we     only have a few fixed sized windows in which to map the pages and     perform the copy. With an object \u003e 8M we therefore aren't properly     copying the pages. And then with an object \u003e 64M we trigger the     GEM_BUG_ON(num_ccs_blks \u003e NUM_CCS_BLKS_PER_XFER).  So it looks like our copy handling for any object \u003e 8M (which is our CHUNK_SZ) is currently broken on DG2.  Testcase: igt@gem_lmem_swapping (cherry picked from commit 8676145eb2f53a9940ff70910caf0125bd8a4bc2)","modified":"2026-08-27T23:04:24.161013736Z","published":"2025-06-18T11:15:23.570Z","upstream":["CVE-2022-49963"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2022-49963"}],"affected":[{"package":{"name":"linux","ecosystem":"Debian:12","purl":"pkg:deb/debian/linux?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.0.2-1"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2022-49963.json"}},{"package":{"name":"linux","ecosystem":"Debian:13","purl":"pkg:deb/debian/linux?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.0.2-1"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2022-49963.json"}},{"package":{"name":"linux","ecosystem":"Debian:14","purl":"pkg:deb/debian/linux?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.0.2-1"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2022-49963.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}