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.
{
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49748.json"
}[
{
"digest": {
"length": 1007.0,
"function_hash": "48805175887887588150284728792241878647"
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Function",
"id": "CVE-2022-49748-030390be",
"target": {
"function": "amd_core_pmu_init",
"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"
]
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Line",
"id": "CVE-2022-49748-28a716df",
"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"
]
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Line",
"id": "CVE-2022-49748-3d3f10a0",
"target": {
"file": "arch/x86/events/amd/core.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f84c9b72fb200633774704d8020f769c88a4b249"
},
{
"digest": {
"length": 1007.0,
"function_hash": "48805175887887588150284728792241878647"
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Function",
"id": "CVE-2022-49748-618bcde6",
"target": {
"function": "amd_core_pmu_init",
"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"
]
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Line",
"id": "CVE-2022-49748-8f2a4483",
"target": {
"file": "arch/x86/events/amd/core.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a4d01fb87ece45d4164fd725890211ccf9a307a9"
},
{
"digest": {
"length": 886.0,
"function_hash": "263619605892668588279069604833979673438"
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Function",
"id": "CVE-2022-49748-a8b189eb",
"target": {
"function": "amd_core_pmu_init",
"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"
]
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Line",
"id": "CVE-2022-49748-ad3798ea",
"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"
]
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Line",
"id": "CVE-2022-49748-eda60148",
"target": {
"file": "arch/x86/events/amd/core.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@14cc13e433e1067557435b1adbf05608d7d47a93"
},
{
"digest": {
"length": 2289.0,
"function_hash": "60595686523525397508779987850489271578"
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Function",
"id": "CVE-2022-49748-f4e03d0f",
"target": {
"function": "amd_core_pmu_init",
"file": "arch/x86/events/amd/core.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a4d01fb87ece45d4164fd725890211ccf9a307a9"
},
{
"digest": {
"length": 2289.0,
"function_hash": "60595686523525397508779987850489271578"
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Function",
"id": "CVE-2022-49748-f943c34f",
"target": {
"function": "amd_core_pmu_init",
"file": "arch/x86/events/amd/core.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@08245672cdc6505550d1a5020603b0a8d4a6dcc7"
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49748.json"