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)
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49635.json",
"cna_assigner": "Linux"
}"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49635.json"
[
{
"id": "CVE-2022-49635-32c477b8",
"digest": {
"line_hashes": [
"220799376138390789953821957658147362349",
"49423402462136866347948834379492342359",
"143363634167971814600534348107140122551",
"41398791256055506738925462124267274107"
],
"threshold": 0.9
},
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@333991c4e66b3d4b5613315f18016da80344f659",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "drivers/gpu/drm/i915/selftests/i915_gem_gtt.c"
}
},
{
"id": "CVE-2022-49635-33b45080",
"digest": {
"line_hashes": [
"220799376138390789953821957658147362349",
"49423402462136866347948834379492342359",
"143363634167971814600534348107140122551",
"41398791256055506738925462124267274107"
],
"threshold": 0.9
},
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e8997d2d6b8d764e12489f1af2a1ce1d7384ca2a",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "drivers/gpu/drm/i915/selftests/i915_gem_gtt.c"
}
},
{
"id": "CVE-2022-49635-6f5746b0",
"digest": {
"function_hash": "326901311916384387864267453900197926610",
"length": 1475.0
},
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e8997d2d6b8d764e12489f1af2a1ce1d7384ca2a",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "drivers/gpu/drm/i915/selftests/i915_gem_gtt.c",
"function": "pot_hole"
}
},
{
"id": "CVE-2022-49635-aa55dcaa",
"digest": {
"function_hash": "326901311916384387864267453900197926610",
"length": 1475.0
},
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@333991c4e66b3d4b5613315f18016da80344f659",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "drivers/gpu/drm/i915/selftests/i915_gem_gtt.c",
"function": "pot_hole"
}
}
]