In the Linux kernel, the following vulnerability has been resolved:
perf/x86/amd: fix potential integer overflow on shift of a int
The left shift of int 32 bit integer constant 1 is evaluated using 32 bit arithmetic and then passed as a 64 bit function argument. In the case where i is 32 or more this can lead to an overflow. Avoid this by shifting using the BIT_ULL macro instead.
{ "vanir_signatures": [ { "id": "CVE-2022-49748-030390be", "signature_type": "Function", "target": { "file": "arch/x86/events/amd/core.c", "function": "amd_core_pmu_init" }, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f84c9b72fb200633774704d8020f769c88a4b249", "digest": { "function_hash": "48805175887887588150284728792241878647", "length": 1007.0 }, "deprecated": false, "signature_version": "v1" }, { "id": "CVE-2022-49748-28a716df", "signature_type": "Line", "target": { "file": "arch/x86/events/amd/core.c" }, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@fbf7b0e4cef3b5470b610f14fb9faa5ee7f63954", "digest": { "threshold": 0.9, "line_hashes": [ "13806320327895232678467035973142023304", "131022751383609534803264527825631335650", "306969419797988621414252026424633678521", "194830470844604051918391388170444199618" ] }, "deprecated": false, "signature_version": "v1" }, { "id": "CVE-2022-49748-3d3f10a0", "signature_type": "Line", "target": { "file": "arch/x86/events/amd/core.c" }, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f84c9b72fb200633774704d8020f769c88a4b249", "digest": { "threshold": 0.9, "line_hashes": [ "13806320327895232678467035973142023304", "131022751383609534803264527825631335650", "306969419797988621414252026424633678521", "194830470844604051918391388170444199618" ] }, "deprecated": false, "signature_version": "v1" }, { "id": "CVE-2022-49748-618bcde6", "signature_type": "Function", "target": { "file": "arch/x86/events/amd/core.c", "function": "amd_core_pmu_init" }, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@14cc13e433e1067557435b1adbf05608d7d47a93", "digest": { "function_hash": "48805175887887588150284728792241878647", "length": 1007.0 }, "deprecated": false, "signature_version": "v1" }, { "id": "CVE-2022-49748-8f2a4483", "signature_type": "Line", "target": { "file": "arch/x86/events/amd/core.c" }, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a4d01fb87ece45d4164fd725890211ccf9a307a9", "digest": { "threshold": 0.9, "line_hashes": [ "13806320327895232678467035973142023304", "131022751383609534803264527825631335650", "306969419797988621414252026424633678521", "194830470844604051918391388170444199618" ] }, "deprecated": false, "signature_version": "v1" }, { "id": "CVE-2022-49748-a8b189eb", "signature_type": "Function", "target": { "file": "arch/x86/events/amd/core.c", "function": "amd_core_pmu_init" }, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@fbf7b0e4cef3b5470b610f14fb9faa5ee7f63954", "digest": { "function_hash": "263619605892668588279069604833979673438", "length": 886.0 }, "deprecated": false, "signature_version": "v1" }, { "id": "CVE-2022-49748-ad3798ea", "signature_type": "Line", "target": { "file": "arch/x86/events/amd/core.c" }, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@08245672cdc6505550d1a5020603b0a8d4a6dcc7", "digest": { "threshold": 0.9, "line_hashes": [ "13806320327895232678467035973142023304", "131022751383609534803264527825631335650", "306969419797988621414252026424633678521", "194830470844604051918391388170444199618" ] }, "deprecated": false, "signature_version": "v1" }, { "id": "CVE-2022-49748-eda60148", "signature_type": "Line", "target": { "file": "arch/x86/events/amd/core.c" }, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@14cc13e433e1067557435b1adbf05608d7d47a93", "digest": { "threshold": 0.9, "line_hashes": [ "13806320327895232678467035973142023304", "131022751383609534803264527825631335650", "306969419797988621414252026424633678521", "194830470844604051918391388170444199618" ] }, "deprecated": false, "signature_version": "v1" }, { "id": "CVE-2022-49748-f4e03d0f", "signature_type": "Function", "target": { "file": "arch/x86/events/amd/core.c", "function": "amd_core_pmu_init" }, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a4d01fb87ece45d4164fd725890211ccf9a307a9", "digest": { "function_hash": "60595686523525397508779987850489271578", "length": 2289.0 }, "deprecated": false, "signature_version": "v1" }, { "id": "CVE-2022-49748-f943c34f", "signature_type": "Function", "target": { "file": "arch/x86/events/amd/core.c", "function": "amd_core_pmu_init" }, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@08245672cdc6505550d1a5020603b0a8d4a6dcc7", "digest": { "function_hash": "60595686523525397508779987850489271578", "length": 2289.0 }, "deprecated": false, "signature_version": "v1" } ] }