In the Linux kernel, the following vulnerability has been resolved:
drm/i915/selftests: fix subtraction overflow bug
On some machines holeend can be small enough to cause subtraction overflow. On the other side (addr + 2 * minalignment) can overflow in case of mock tests. This patch should handle both cases.
(cherry picked from commit ab3edc679c552a466e4bf0b11af3666008bd65a2)
[
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@333991c4e66b3d4b5613315f18016da80344f659",
"id": "CVE-2022-49635-32c477b8",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "drivers/gpu/drm/i915/selftests/i915_gem_gtt.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"220799376138390789953821957658147362349",
"49423402462136866347948834379492342359",
"143363634167971814600534348107140122551",
"41398791256055506738925462124267274107"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e8997d2d6b8d764e12489f1af2a1ce1d7384ca2a",
"id": "CVE-2022-49635-33b45080",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "drivers/gpu/drm/i915/selftests/i915_gem_gtt.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"220799376138390789953821957658147362349",
"49423402462136866347948834379492342359",
"143363634167971814600534348107140122551",
"41398791256055506738925462124267274107"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e8997d2d6b8d764e12489f1af2a1ce1d7384ca2a",
"id": "CVE-2022-49635-6f5746b0",
"deprecated": false,
"signature_version": "v1",
"target": {
"function": "pot_hole",
"file": "drivers/gpu/drm/i915/selftests/i915_gem_gtt.c"
},
"signature_type": "Function",
"digest": {
"length": 1475.0,
"function_hash": "326901311916384387864267453900197926610"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@333991c4e66b3d4b5613315f18016da80344f659",
"id": "CVE-2022-49635-aa55dcaa",
"deprecated": false,
"signature_version": "v1",
"target": {
"function": "pot_hole",
"file": "drivers/gpu/drm/i915/selftests/i915_gem_gtt.c"
},
"signature_type": "Function",
"digest": {
"length": 1475.0,
"function_hash": "326901311916384387864267453900197926610"
}
}
]