CVE-2023-53778
Patch priority
RegularFix with the next regular update.
- CVSS
- 7.8
- Severity
- 7.8
- EPSS
- 0.2 %
- Percentile
- 5
- Actively exploited
- not known
The traffic light combines CVSS (severity), EPSS (exploitation probability, FIRST) and CISA's KEV catalog. It does not replace your own assessment. More in the glossary
What do I need to do?
in plain wordsWho is affected?
Everyone who uses Linux-Kernel.
How dangerous is it?
- An attacker already needs access to the device (or gets you to open a file).
- The attacker must already be logged in – this lowers the risk.
What to do?
- Include it in your next regular update.
- Install your distribution’s kernel update and reboot – the new kernel only runs after a restart.
Generated automatically from the CVSS vector, KEV and EPSS – does not replace the vendor’s information. Terms explained
Description
NVDIn the Linux kernel, the following vulnerability has been resolved: accel/qaic: Clean up integer overflow checking in map_user_pages() The encode_dma() function has some validation on in_trans->size but it would be more clear to move those checks to find_and_map_user_pages(). The encode_dma() had two checks: if (in_trans->addr + in_trans->size < in_trans->addr || !in_trans->size) return -EINVAL; The in_trans->addr variable is the starting address. The in_trans->size variable is the total size of the transfer. The transfer can occur in parts and the resources->xferred_dma_size tracks how many bytes we have already transferred. This patch introduces a new variable "remaining" which represents the amount we want to transfer (in_trans->size) minus the amount we have already transferred (resources->xferred_dma_size). I have modified the check for if in_trans->size is zero to instead check if in_trans->size is less than resources->xferred_dma_size. If we have already transferred more bytes than in_trans->size then there are negative bytes remaining which doesn't make sense. If there are zero bytes remaining to be copied, just return success. The check in encode_dma() checked that "addr + size" could not overflow and barring a driver bug that should work, but it's easier to check if we do this in parts. First check that "in_trans->addr + resources->xferred_dma_size" is safe. Then check that "xfer_start_addr + remaining" is safe. My final concern was that we are dealing with u64 values but on 32bit systems the kmalloc() function will truncate the sizes to 32 bits. So I calculated "total = in_trans->size + offset_in_page(xfer_start_addr);" and returned -EINVAL if it were >= SIZE_MAX. This will not affect 64bit systems.
- Published
- 09.12.2025
- Modified
- 04.08.2026
- Status
- Deferred
CVSS v3.1 · CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Vendor updates
14- SUSE: SUSE-SU-2026:20876-1 – Security update for the Linux Kernel 30.03.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:20845-1 – Security update for the Linux Kernel 27.03.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:20872-1 – Security update for the Linux Kernel 27.03.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:20794-1 – Security update for the Linux Kernel 24.03.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:20819-1 – Security update for the Linux Kernel 24.03.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:20772-1 – Security update for the Linux Kernel 24.03.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:20498-1 – Security update for the Linux Kernel 27.02.2026 · HIGH · Patch day
- SUSE: SUSE-SU-2026:20520-1 – Security update for the Linux Kernel 27.02.2026 · HIGH · Patch day
- SUSE: SUSE-SU-2026:20477-1 – Security update for the Linux Kernel 26.02.2026 · HIGH · Patch day
- SUSE: SUSE-SU-2026:20479-1 – Security update for the Linux Kernel 26.02.2026 · HIGH · Patch day
- SUSE: SUSE-SU-2026:0315-1 – Security update for the Linux Kernel 28.01.2026 · HIGH · Patch day
- SUSE: SUSE-SU-2026:0293-1 – Security update for the Linux Kernel 26.01.2026 · HIGH · Patch day
- SUSE: SUSE-SU-2026:0281-1 – Security update for the Linux Kernel 26.01.2026 · HIGH · Patch day
- SUSE: SUSE-SU-2026:0278-1 – Security update for the Linux Kernel 23.01.2026 · HIGH · Patch day
Sources: NVD (NIST), CISA KEV, EPSS (FIRST.org), vendors and authorities. No warranty.