CVE catalog

CVE-2022-49520

linux: CVE-2022-49520

[CVE catalog]

Severity
Medium · CVSS 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Published
Source
[NVD] · [CVE record]
EPSS
0.30% · Oct 25, 2026

In the Linux kernel, the following vulnerability has been resolved: arm64: compat: Do not treat syscall number as ESR_ELx for a bad syscall If a compat process tries to execute an unknown system call above the __ARM_NR_COMPAT_END number, the kernel sends a SIGILL signal to the offending process. Information about the error is printed to dmesg in compat_arm_syscall() -> arm64_notify_die() -> arm64_force_sig_fault() -> arm64_show_signal(). arm64_show_signal() interprets a non-zero value for current->thread.fault_code as an exception syndrome and displays the message associated with the ESR_ELx.EC field (bits 31:26). current->thread.fault_code is set in compat_arm_syscall() -> arm64_notify_die() with the bad syscall number instead of a valid ESR_ELx value. This means that the ESR_ELx.EC field has the value that the user set for the syscall number and the kernel can end up printing bogus exception messages*. For example, for the syscall number 0x68000000, which evaluates to ESR_ELx.EC value of 0x1A (ESR_ELx_EC_FPAC) the kernel prints this error: [ 18.349161] syscall[300]: unhandled exception: ERET/ERETAA/ERETAB, ESR 0x68000000, Oops - bad compat syscall(2) in syscall[10000+50000] [ 18.350639] CPU: 2 PID: 300 Comm: syscall Not tainted 5.18.0-rc1 #79 [ 18.351249] Hardware name: Pine64 RockPro64 v2.0 (DT) [..] which is misleading, as the bad compat syscall has nothing to do with pointer authentication. Stop arm64_show_signal() from printing exception syndrome information by having compat_arm_syscall() set the ESR_ELx value to 0, as it has no meaning for an invalid system call number. The example above now becomes: [ 19.935275] syscall[301]: unhandled exception: Oops - bad compat syscall(2) in syscall[10000+50000] [ 19.936124] CPU: 1 PID: 301 Comm: syscall Not tainted 5.18.0-rc1-00005-g7e08006d4102 #80 [ 19.936894] Hardware name: Pine64 RockPro64 v2.0 (DT) [..] which although shows less information because the syscall number, wrongfully advertised as the ESR value, is missing, it is better than showing plainly wrong information. The syscall number can be easily obtained with strace. *A 32-bit value above or equal to 0x8000_0000 is interpreted as a negative integer in compat_arm_syscal() and the condition scno < __ARM_NR_COMPAT_END evaluates to true; the syscall will exit to userspace in this case with the ENOSYS error code instead of arm64_notify_die() being called.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianlinuxsid7.2.12-1fixed
Debianlinuxforky7.2.12-1fixed
Debianlinuxtrixie6.12.107-1fixed
Debianlinuxtrixie-security6.12.113-1fixed
Debianlinuxbookworm6.1.176-1fixed
Debianlinuxbookworm-security6.1.190-1fixed
Cpelinux_kernelNot reported5.18.3fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianlinuxsourcesid5.18.5-1not yet assignedNot reportedNot reported
Debianlinuxsourceforky5.18.5-1not yet assignedNot reportedNot reported
Debianlinuxsourcetrixie5.18.5-1not yet assignedNot reportedNot reported
Debianlinuxsourcebookworm5.18.5-1not yet assignedNot reportedNot reported
Cpelinux_kernelcpeNot reported5.18.3Not reportedNVD-CVE-2022-49520Not reported

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

[Debian 12 (Bookworm)]

  • [bpftool]Unknown

    Source package: [linux]

    Details (6)
    • 7.1.0+6.1.176-1 · amd64 · bookworm

      Fixed · Fixed: 5.18.5-1

      dsa · linux · debian · bookworm

    • 7.1.0+6.1.176-1 · arm64 · bookworm

      Fixed · Fixed: 5.18.5-1

      dsa · linux · debian · bookworm

    • 7.5.0+6.12.95-1~bpo12+1 · amd64 · bookworm-backports

      Fixed · Fixed: 5.18.5-1

      dsa · linux · debian · bookworm

    • 7.5.0+6.12.95-1~bpo12+1 · arm64 · bookworm-backports

      Fixed · Fixed: 5.18.5-1

      dsa · linux · debian · bookworm

    • 7.1.0+6.1.180-1 · amd64 · bookworm-security

      Fixed · Fixed: 5.18.5-1

      dsa · linux · debian · bookworm

    • 7.1.0+6.1.180-1 · arm64 · bookworm-security

      Fixed · Fixed: 5.18.5-1

      dsa · linux · debian · bookworm

  • Source package: [linux]

    Details (6)
    • 6.1.176-1 · amd64 · bookworm

      Fixed · Fixed: 5.18.5-1

      dsa · linux · debian · bookworm

    • 6.1.176-1 · arm64 · bookworm

      Fixed · Fixed: 5.18.5-1

      dsa · linux · debian · bookworm

    • 6.12.95-1~bpo12+1 · amd64 · bookworm-backports

      Fixed · Fixed: 5.18.5-1

      dsa · linux · debian · bookworm

    • 6.12.95-1~bpo12+1 · arm64 · bookworm-backports

      Fixed · Fixed: 5.18.5-1

      dsa · linux · debian · bookworm

    • 6.1.180-1 · amd64 · bookworm-security

      Fixed · Fixed: 5.18.5-1

      dsa · linux · debian · bookworm

    • 6.1.180-1 · arm64 · bookworm-security

      Fixed · Fixed: 5.18.5-1

      dsa · linux · debian · bookworm

  • [intel-sdsi]Unknown

    Source package: [linux]

    Details (1)
    • 6.12.95-1~bpo12+1 · amd64 · bookworm-backports

      Fixed · Fixed: 5.18.5-1

      dsa · linux · debian · bookworm

  • [libcpupower1]Unknown

    Source package: [linux]

    Details (6)
    • 6.1.176-1 · amd64 · bookworm

      Fixed · Fixed: 5.18.5-1

      dsa · linux · debian · bookworm

    • 6.1.176-1 · arm64 · bookworm

      Fixed · Fixed: 5.18.5-1

      dsa · linux · debian · bookworm

    • 6.12.95-1~bpo12+1 · amd64 · bookworm-backports

      Fixed · Fixed: 5.18.5-1

      dsa · linux · debian · bookworm

    • 6.12.95-1~bpo12+1 · arm64 · bookworm-backports

      Fixed · Fixed: 5.18.5-1

      dsa · linux · debian · bookworm

    • 6.1.180-1 · amd64 · bookworm-security

      Fixed · Fixed: 5.18.5-1

      dsa · linux · debian · bookworm

    • 6.1.180-1 · arm64 · bookworm-security

      Fixed · Fixed: 5.18.5-1

      dsa · linux · debian · bookworm

  • Source package: [linux]

    Details (6)
    • 6.1.176-1 · amd64 · bookworm

      Fixed · Fixed: 5.18.5-1

      dsa · linux · debian · bookworm

    • 6.1.176-1 · arm64 · bookworm

      Fixed · Fixed: 5.18.5-1

      dsa · linux · debian · bookworm

    • 6.12.95-1~bpo12+1 · amd64 · bookworm-backports

      Fixed · Fixed: 5.18.5-1

      dsa · linux · debian · bookworm

    • 6.12.95-1~bpo12+1 · arm64 · bookworm-backports

      Fixed · Fixed: 5.18.5-1

      dsa · linux · debian · bookworm

    • 6.1.180-1 · amd64 · bookworm-security

      Fixed · Fixed: 5.18.5-1

      dsa · linux · debian · bookworm

    • 6.1.180-1 · arm64 · bookworm-security

      Fixed · Fixed: 5.18.5-1

      dsa · linux · debian · bookworm

  • [linux-bpf-dev]Unknown

    Source package: [linux]

    Details (2)
    • 6.12.95-1~bpo12+1 · amd64 · bookworm-backports

      Fixed · Fixed: 5.18.5-1

      dsa · linux · debian · bookworm

    • 6.12.95-1~bpo12+1 · arm64 · bookworm-backports

      Fixed · Fixed: 5.18.5-1

      dsa · linux · debian · bookworm

  • Source package: [linux]

    Details (2)
    • 6.1.176-1 · amd64 · bookworm

      Fixed · Fixed: 5.18.5-1

      dsa · linux · debian · bookworm

    • 6.1.180-1 · amd64 · bookworm-security

      Fixed · Fixed: 5.18.5-1

      dsa · linux · debian · bookworm

  • Source package: [linux]

    Details (4)
    • 6.1.176-1 · amd64 · bookworm

      Fixed · Fixed: 5.18.5-1

      dsa · linux · debian · bookworm

    • 6.1.176-1 · arm64 · bookworm

      Fixed · Fixed: 5.18.5-1

      dsa · linux · debian · bookworm

    • 6.1.180-1 · amd64 · bookworm-security

      Fixed · Fixed: 5.18.5-1

      dsa · linux · debian · bookworm

    • 6.1.180-1 · arm64 · bookworm-security

      Fixed · Fixed: 5.18.5-1

      dsa · linux · debian · bookworm

  • Source package: [linux]

    Details (6)
    • 6.1.176-1 · amd64 · bookworm

      Fixed · Fixed: 5.18.5-1

      dsa · linux · debian · bookworm

    • 6.1.176-1 · arm64 · bookworm

      Fixed · Fixed: 5.18.5-1

      dsa · linux · debian · bookworm

    • 6.12.95-1~bpo12+1 · amd64 · bookworm-backports

      Fixed · Fixed: 5.18.5-1

      dsa · linux · debian · bookworm

    • 6.12.95-1~bpo12+1 · arm64 · bookworm-backports

      Fixed · Fixed: 5.18.5-1

      dsa · linux · debian · bookworm

    • 6.1.180-1 · amd64 · bookworm-security

      Fixed · Fixed: 5.18.5-1

      dsa · linux · debian · bookworm

    • 6.1.180-1 · arm64 · bookworm-security

      Fixed · Fixed: 5.18.5-1

      dsa · linux · debian · bookworm

  • [linux-doc]Unknown

    Source package: [linux]

    Details (32)
    • 6.1.170-3 · all · bookworm

      Fixed · Fixed: 5.18.5-1

      dsa · linux · debian · bookworm

    • 6.1.170-3 · all · bookworm

      Fixed · Fixed: 5.18.5-1

      dsa · linux · debian · bookworm

    • 6.1.176-1 · all · bookworm

      Fixed · Fixed: 5.18.5-1

      dsa · linux · debian · bookworm

    • 6.1.176-1 · all · bookworm

      Fixed · Fixed: 5.18.5-1

      dsa · linux · debian · bookworm

    • 6.12.43-1~bpo12+1 · all · bookworm-backports

      Fixed · Fixed: 5.18.5-1

      dsa · linux · debian · bookworm

    • 6.12.43-1~bpo12+1 · all · bookworm-backports

      Fixed · Fixed: 5.18.5-1

      dsa · linux · debian · bookworm

    • 6.12.57-1~bpo12+1 · all · bookworm-backports

      Fixed · Fixed: 5.18.5-1

      dsa · linux · debian · bookworm

    • 6.12.57-1~bpo12+1 · all · bookworm-backports

      Fixed · Fixed: 5.18.5-1

      dsa · linux · debian · bookworm

    • 6.12.63-1~bpo12+1 · all · bookworm-backports

      Fixed · Fixed: 5.18.5-1

      dsa · linux · debian · bookworm

    • 6.12.63-1~bpo12+1 · all · bookworm-backports

      Fixed · Fixed: 5.18.5-1

      dsa · linux · debian · bookworm

    • 6.12.69-1~bpo12+1 · all · bookworm-backports

      Fixed · Fixed: 5.18.5-1

      dsa · linux · debian · bookworm

    • 6.12.69-1~bpo12+1 · all · bookworm-backports

      Fixed · Fixed: 5.18.5-1

      dsa · linux · debian · bookworm

    • 6.12.73-1~bpo12+1 · all · bookworm-backports

      Fixed · Fixed: 5.18.5-1

      dsa · linux · debian · bookworm

    • 6.12.73-1~bpo12+1 · all · bookworm-backports

      Fixed · Fixed: 5.18.5-1

      dsa · linux · debian · bookworm

    • 6.12.74-2~bpo12+1 · all · bookworm-backports

      Fixed · Fixed: 5.18.5-1

      dsa · linux · debian · bookworm

    • 6.12.74-2~bpo12+1 · all · bookworm-backports

      Fixed · Fixed: 5.18.5-1

      dsa · linux · debian · bookworm

    • 6.12.85-1~bpo12+1 · all · bookworm-backports

      Fixed · Fixed: 5.18.5-1

      dsa · linux · debian · bookworm

    • 6.12.85-1~bpo12+1 · all · bookworm-backports

      Fixed · Fixed: 5.18.5-1

      dsa · linux · debian · bookworm

    • 6.12.86-1~bpo12+1 · all · bookworm-backports

      Fixed · Fixed: 5.18.5-1

      dsa · linux · debian · bookworm

    • 6.12.86-1~bpo12+1 · all · bookworm-backports

      Fixed · Fixed: 5.18.5-1

      dsa · linux · debian · bookworm

    • 6.12.88-1~bpo12+1 · all · bookworm-backports

      Fixed · Fixed: 5.18.5-1

      dsa · linux · debian · bookworm

    • 6.12.88-1~bpo12+1 · all · bookworm-backports

      Fixed · Fixed: 5.18.5-1

      dsa · linux · debian · bookworm

    • 6.12.90-1~bpo12+1 · all · bookworm-backports

      Fixed · Fixed: 5.18.5-1

      dsa · linux · debian · bookworm

    • 6.12.90-1~bpo12+1 · all · bookworm-backports

      Fixed · Fixed: 5.18.5-1

      dsa · linux · debian · bookworm

    • 6.12.90-2~bpo12+1 · all · bookworm-backports

      Fixed · Fixed: 5.18.5-1

      dsa · linux · debian · bookworm

    • 6.12.90-2~bpo12+1 · all · bookworm-backports

      Fixed · Fixed: 5.18.5-1

      dsa · linux · debian · bookworm

    • 6.12.94-1~bpo12+1 · all · bookworm-backports

      Fixed · Fixed: 5.18.5-1

      dsa · linux · debian · bookworm

    • 6.12.94-1~bpo12+1 · all · bookworm-backports

      Fixed · Fixed: 5.18.5-1

      dsa · linux · debian · bookworm

    • 6.12.95-1~bpo12+1 · all · bookworm-backports

      Fixed · Fixed: 5.18.5-1

      dsa · linux · debian · bookworm

    • 6.12.95-1~bpo12+1 · all · bookworm-backports

      Fixed · Fixed: 5.18.5-1

      dsa · linux · debian · bookworm

    • 6.1.180-1 · all · bookworm-security

      Fixed · Fixed: 5.18.5-1

      dsa · linux · debian · bookworm

    • 6.1.180-1 · all · bookworm-security

      Fixed · Fixed: 5.18.5-1

      dsa · linux · debian · bookworm

  • [linux-doc-6.1]Unknown

    Source package: [linux]

    Details (6)
    • 6.1.170-3 · all · bookworm

      Fixed · Fixed: 5.18.5-1

      dsa · linux · debian · bookworm

    • 6.1.170-3 · all · bookworm

      Fixed · Fixed: 5.18.5-1

      dsa · linux · debian · bookworm

    • 6.1.176-1 · all · bookworm

      Fixed · Fixed: 5.18.5-1

      dsa · linux · debian · bookworm

    • 6.1.176-1 · all · bookworm

      Fixed · Fixed: 5.18.5-1

      dsa · linux · debian · bookworm

    • 6.1.180-1 · all · bookworm-security

      Fixed · Fixed: 5.18.5-1

      dsa · linux · debian · bookworm

    • 6.1.180-1 · all · bookworm-security

      Fixed · Fixed: 5.18.5-1

      dsa · linux · debian · bookworm

  • Source package: [linux]

    Details (1)
    • 6.1.170-3 · amd64 · bookworm

      Fixed · Fixed: 5.18.5-1

      dsa · linux · debian · bookworm

  • Source package: [linux]

    Details (1)
    • 6.1.170-3 · arm64 · bookworm

      Fixed · Fixed: 5.18.5-1

      dsa · linux · debian · bookworm

  • Source package: [linux]

    Details (1)
    • 6.1.170-3 · amd64 · bookworm

      Fixed · Fixed: 5.18.5-1

      dsa · linux · debian · bookworm

  • Source package: [linux]

    Details (1)
    • 6.1.170-3 · arm64 · bookworm

      Fixed · Fixed: 5.18.5-1

      dsa · linux · debian · bookworm

  • Source package: [linux]

    Details (2)
    • 6.1.170-3 · all · bookworm

      Fixed · Fixed: 5.18.5-1

      dsa · linux · debian · bookworm

    • 6.1.170-3 · all · bookworm

      Fixed · Fixed: 5.18.5-1

      dsa · linux · debian · bookworm

  • Source package: [linux]

    Details (2)
    • 6.1.170-3 · all · bookworm

      Fixed · Fixed: 5.18.5-1

      dsa · linux · debian · bookworm

    • 6.1.170-3 · all · bookworm

      Fixed · Fixed: 5.18.5-1

      dsa · linux · debian · bookworm

  • Source package: [linux]

    Details (1)
    • 6.1.170-3 · amd64 · bookworm

      Fixed · Fixed: 5.18.5-1

      dsa · linux · debian · bookworm

  • Source package: [linux]

    Details (1)
    • 6.1.170-3 · arm64 · bookworm

      Fixed · Fixed: 5.18.5-1

      dsa · linux · debian · bookworm

  • Source package: [linux]

    Details (1)
    • 6.1.176-1 · amd64 · bookworm

      Fixed · Fixed: 5.18.5-1

      dsa · linux · debian · bookworm

Next results

Observed:

References