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.
[
{
"id": "CVE-2022-49748-030390be",
"digest": {
"length": 1007.0,
"function_hash": "48805175887887588150284728792241878647"
},
"signature_version": "v1",
"target": {
"file": "arch/x86/events/amd/core.c",
"function": "amd_core_pmu_init"
},
"deprecated": false,
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f84c9b72fb200633774704d8020f769c88a4b249"
},
{
"id": "CVE-2022-49748-28a716df",
"digest": {
"line_hashes": [
"13806320327895232678467035973142023304",
"131022751383609534803264527825631335650",
"306969419797988621414252026424633678521",
"194830470844604051918391388170444199618"
],
"threshold": 0.9
},
"signature_version": "v1",
"target": {
"file": "arch/x86/events/amd/core.c"
},
"deprecated": false,
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@fbf7b0e4cef3b5470b610f14fb9faa5ee7f63954"
},
{
"id": "CVE-2022-49748-3d3f10a0",
"digest": {
"line_hashes": [
"13806320327895232678467035973142023304",
"131022751383609534803264527825631335650",
"306969419797988621414252026424633678521",
"194830470844604051918391388170444199618"
],
"threshold": 0.9
},
"signature_version": "v1",
"target": {
"file": "arch/x86/events/amd/core.c"
},
"deprecated": false,
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f84c9b72fb200633774704d8020f769c88a4b249"
},
{
"id": "CVE-2022-49748-618bcde6",
"digest": {
"length": 1007.0,
"function_hash": "48805175887887588150284728792241878647"
},
"signature_version": "v1",
"target": {
"file": "arch/x86/events/amd/core.c",
"function": "amd_core_pmu_init"
},
"deprecated": false,
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@14cc13e433e1067557435b1adbf05608d7d47a93"
},
{
"id": "CVE-2022-49748-8f2a4483",
"digest": {
"line_hashes": [
"13806320327895232678467035973142023304",
"131022751383609534803264527825631335650",
"306969419797988621414252026424633678521",
"194830470844604051918391388170444199618"
],
"threshold": 0.9
},
"signature_version": "v1",
"target": {
"file": "arch/x86/events/amd/core.c"
},
"deprecated": false,
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a4d01fb87ece45d4164fd725890211ccf9a307a9"
},
{
"id": "CVE-2022-49748-a8b189eb",
"digest": {
"length": 886.0,
"function_hash": "263619605892668588279069604833979673438"
},
"signature_version": "v1",
"target": {
"file": "arch/x86/events/amd/core.c",
"function": "amd_core_pmu_init"
},
"deprecated": false,
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@fbf7b0e4cef3b5470b610f14fb9faa5ee7f63954"
},
{
"id": "CVE-2022-49748-ad3798ea",
"digest": {
"line_hashes": [
"13806320327895232678467035973142023304",
"131022751383609534803264527825631335650",
"306969419797988621414252026424633678521",
"194830470844604051918391388170444199618"
],
"threshold": 0.9
},
"signature_version": "v1",
"target": {
"file": "arch/x86/events/amd/core.c"
},
"deprecated": false,
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@08245672cdc6505550d1a5020603b0a8d4a6dcc7"
},
{
"id": "CVE-2022-49748-eda60148",
"digest": {
"line_hashes": [
"13806320327895232678467035973142023304",
"131022751383609534803264527825631335650",
"306969419797988621414252026424633678521",
"194830470844604051918391388170444199618"
],
"threshold": 0.9
},
"signature_version": "v1",
"target": {
"file": "arch/x86/events/amd/core.c"
},
"deprecated": false,
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@14cc13e433e1067557435b1adbf05608d7d47a93"
},
{
"id": "CVE-2022-49748-f4e03d0f",
"digest": {
"length": 2289.0,
"function_hash": "60595686523525397508779987850489271578"
},
"signature_version": "v1",
"target": {
"file": "arch/x86/events/amd/core.c",
"function": "amd_core_pmu_init"
},
"deprecated": false,
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a4d01fb87ece45d4164fd725890211ccf9a307a9"
},
{
"id": "CVE-2022-49748-f943c34f",
"digest": {
"length": 2289.0,
"function_hash": "60595686523525397508779987850489271578"
},
"signature_version": "v1",
"target": {
"file": "arch/x86/events/amd/core.c",
"function": "amd_core_pmu_init"
},
"deprecated": false,
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@08245672cdc6505550d1a5020603b0a8d4a6dcc7"
}
]