CVE-2023-53513
publishednbd: fix incomplete validation of ioctl arg
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxb9c495bb6d8edc719fd23af2ac67de8303cfc1e8 to < 52851d0c3354b397c11d31dfeb8b2a2fc85a0002 · b9c495bb6d8edc719fd23af2ac67de8303cfc1e8 to < fab766c8a1aff715bce7075aab40e780266f8e1a · b9c495bb6d8edc719fd23af2ac67de8303cfc1e8 to < ffb75ffaa68723276365d0f9d00b03362b750657 · b9c495bb6d8edc719fd23af2ac67de8303cfc1e8 to < 55793ea54d77719a071b1ccc05a05056e3b5e009 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux4.1 (affected) · 0 to < 4.1 (unaffected · semver) · 5.15.113 through 5.15.* (unaffected · semver) · 6.1.30 through 6.1.* (unaffected · semver) · 6.3.4 through 6.3.* (unaffected · semver) · 6.4 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | No Fix Planned | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.15-2023-021 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2023-228 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 8 | bpftool | Advisory build | 4.18.0-553.87.1.el8_10 | ALSA-2025:22388 |
| Oracle Linux | 8 | bpftoolaarch64 | Advisory build | 0:4.18.0-553.87.1.el8_10 | ELSA-2025-22388 |
Show 98 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat Enterprise Linux | RHEL-8 | bpftoolaarch64 | Advisory build | 4.18.0-372.175.1.el8_6 | RHSA-2026:0536 |
| AlmaLinux | 8 | kernel | Advisory build | 4.18.0-553.87.1.el8_10 | ALSA-2025:22388 |
| AlmaLinux | 8 | kernel-abi-stablelists | Advisory build | 4.18.0-553.87.1.el8_10 | ALSA-2025:22388 |
| AlmaLinux | 8 | kernel-core | Advisory build | 4.18.0-553.87.1.el8_10 | ALSA-2025:22388 |
| AlmaLinux | 8 | kernel-cross-headers | Advisory build | 4.18.0-553.87.1.el8_10 | ALSA-2025:22388 |
| AlmaLinux | 8 | kernel-debug | Advisory build | 4.18.0-553.87.1.el8_10 | ALSA-2025:22388 |
| AlmaLinux | 8 | kernel-debug-core | Advisory build | 4.18.0-553.87.1.el8_10 | ALSA-2025:22388 |
| AlmaLinux | 8 | kernel-debug-devel | Advisory build | 4.18.0-553.87.1.el8_10 | ALSA-2025:22388 |
| AlmaLinux | 8 | kernel-debug-modules | Advisory build | 4.18.0-553.87.1.el8_10 | ALSA-2025:22388 |
| AlmaLinux | 8 | kernel-debug-modules-extra | Advisory build | 4.18.0-553.87.1.el8_10 | ALSA-2025:22388 |
| AlmaLinux | 8 | kernel-devel | Advisory build | 4.18.0-553.87.1.el8_10 | ALSA-2025:22388 |
| AlmaLinux | 8 | kernel-doc | Advisory build | 4.18.0-553.87.1.el8_10 | ALSA-2025:22388 |
| AlmaLinux | 8 | kernel-headers | Advisory build | 4.18.0-553.87.1.el8_10 | ALSA-2025:22388 |
| AlmaLinux | 8 | kernel-modules | Advisory build | 4.18.0-553.87.1.el8_10 | ALSA-2025:22388 |
| AlmaLinux | 8 | kernel-modules-extra | Advisory build | 4.18.0-553.87.1.el8_10 | ALSA-2025:22388 |
| AlmaLinux | 8 | kernel-rt | Advisory build | 4.18.0-553.87.1.rt7.428.el8_10 | ALSA-2025:22387 |
| AlmaLinux | 8 | kernel-rt-core | Advisory build | 4.18.0-553.87.1.rt7.428.el8_10 | ALSA-2025:22387 |
| AlmaLinux | 8 | kernel-rt-debug | Advisory build | 4.18.0-553.87.1.rt7.428.el8_10 | ALSA-2025:22387 |
| AlmaLinux | 8 | kernel-rt-debug-core | Advisory build | 4.18.0-553.87.1.rt7.428.el8_10 | ALSA-2025:22387 |
| AlmaLinux | 8 | kernel-rt-debug-devel | Advisory build | 4.18.0-553.87.1.rt7.428.el8_10 | ALSA-2025:22387 |
| AlmaLinux | 8 | kernel-rt-debug-modules | Advisory build | 4.18.0-553.87.1.rt7.428.el8_10 | ALSA-2025:22387 |
| AlmaLinux | 8 | kernel-rt-debug-modules-extra | Advisory build | 4.18.0-553.87.1.rt7.428.el8_10 | ALSA-2025:22387 |
| AlmaLinux | 8 | kernel-rt-devel | Advisory build | 4.18.0-553.87.1.rt7.428.el8_10 | ALSA-2025:22387 |
| AlmaLinux | 8 | kernel-rt-modules | Advisory build | 4.18.0-553.87.1.rt7.428.el8_10 | ALSA-2025:22387 |
| AlmaLinux | 8 | kernel-rt-modules-extra | Advisory build | 4.18.0-553.87.1.rt7.428.el8_10 | ALSA-2025:22387 |
| AlmaLinux | 8 | kernel-tools | Advisory build | 4.18.0-553.87.1.el8_10 | ALSA-2025:22388 |
| AlmaLinux | 8 | kernel-tools-libs | Advisory build | 4.18.0-553.87.1.el8_10 | ALSA-2025:22388 |
| AlmaLinux | 8 | kernel-tools-libs-devel | Advisory build | 4.18.0-553.87.1.el8_10 | ALSA-2025:22388 |
| AlmaLinux | 8 | kernel-zfcpdump | Advisory build | 4.18.0-553.87.1.el8_10 | ALSA-2025:22388 |
| AlmaLinux | 8 | kernel-zfcpdump-core | Advisory build | 4.18.0-553.87.1.el8_10 | ALSA-2025:22388 |
| AlmaLinux | 8 | kernel-zfcpdump-devel | Advisory build | 4.18.0-553.87.1.el8_10 | ALSA-2025:22388 |
| AlmaLinux | 8 | kernel-zfcpdump-modules | Advisory build | 4.18.0-553.87.1.el8_10 | ALSA-2025:22388 |
| AlmaLinux | 8 | kernel-zfcpdump-modules-extra | Advisory build | 4.18.0-553.87.1.el8_10 | ALSA-2025:22388 |
| AlmaLinux | 8 | perf | Advisory build | 4.18.0-553.87.1.el8_10 | ALSA-2025:22388 |
| AlmaLinux | 8 | python3-perf | Advisory build | 4.18.0-553.87.1.el8_10 | ALSA-2025:22388 |
| Oracle Linux | 8 | bpftoolx86_64 | Advisory build | 0:4.18.0-553.87.1.el8_10 | ELSA-2025-22388 |
| Oracle Linux | 8 | kernelx86_64 | Advisory build | 0:4.18.0-553.87.1.el8_10 | ELSA-2025-22388 |
| Oracle Linux | 8 | kernel-abi-stablelistsx86_64 | Advisory build | 0:4.18.0-553.87.1.el8_10 | ELSA-2025-22388 |
| Oracle Linux | 8 | kernel-corex86_64 | Advisory build | 0:4.18.0-553.87.1.el8_10 | ELSA-2025-22388 |
| Oracle Linux | 8 | kernel-cross-headersaarch64 | Advisory build | 0:4.18.0-553.87.1.el8_10 | ELSA-2025-22388 |
| Oracle Linux | 8 | kernel-cross-headersx86_64 | Advisory build | 0:4.18.0-553.87.1.el8_10 | ELSA-2025-22388 |
| Oracle Linux | 8 | kernel-debugx86_64 | Advisory build | 0:4.18.0-553.87.1.el8_10 | ELSA-2025-22388 |
| Oracle Linux | 8 | kernel-debug-corex86_64 | Advisory build | 0:4.18.0-553.87.1.el8_10 | ELSA-2025-22388 |
| Oracle Linux | 8 | kernel-debug-develx86_64 | Advisory build | 0:4.18.0-553.87.1.el8_10 | ELSA-2025-22388 |
| Oracle Linux | 8 | kernel-debug-modulesx86_64 | Advisory build | 0:4.18.0-553.87.1.el8_10 | ELSA-2025-22388 |
| Oracle Linux | 8 | kernel-debug-modules-extrax86_64 | Advisory build | 0:4.18.0-553.87.1.el8_10 | ELSA-2025-22388 |
| Oracle Linux | 8 | kernel-develx86_64 | Advisory build | 0:4.18.0-553.87.1.el8_10 | ELSA-2025-22388 |
| Oracle Linux | 8 | kernel-docx86_64 | Advisory build | 0:4.18.0-553.87.1.el8_10 | ELSA-2025-22388 |
| Oracle Linux | 8 | kernel-headersaarch64 | Advisory build | 0:4.18.0-553.87.1.el8_10 | ELSA-2025-22388 |
| Oracle Linux | 8 | kernel-headersx86_64 | Advisory build | 0:4.18.0-553.87.1.el8_10 | ELSA-2025-22388 |
| Oracle Linux | 8 | kernel-modulesx86_64 | Advisory build | 0:4.18.0-553.87.1.el8_10 | ELSA-2025-22388 |
| Oracle Linux | 8 | kernel-modules-extrax86_64 | Advisory build | 0:4.18.0-553.87.1.el8_10 | ELSA-2025-22388 |
| Oracle Linux | 8 | kernel-toolsaarch64 | Advisory build | 0:4.18.0-553.87.1.el8_10 | ELSA-2025-22388 |
| Oracle Linux | 8 | kernel-toolsx86_64 | Advisory build | 0:4.18.0-553.87.1.el8_10 | ELSA-2025-22388 |
| Oracle Linux | 8 | kernel-tools-libsaarch64 | Advisory build | 0:4.18.0-553.87.1.el8_10 | ELSA-2025-22388 |
| Oracle Linux | 8 | kernel-tools-libsx86_64 | Advisory build | 0:4.18.0-553.87.1.el8_10 | ELSA-2025-22388 |
| Oracle Linux | 8 | kernel-tools-libs-develaarch64 | Advisory build | 0:4.18.0-553.87.1.el8_10 | ELSA-2025-22388 |
| Oracle Linux | 8 | kernel-tools-libs-develx86_64 | Advisory build | 0:4.18.0-553.87.1.el8_10 | ELSA-2025-22388 |
| Oracle Linux | 8 | perfaarch64 | Advisory build | 0:4.18.0-553.87.1.el8_10 | ELSA-2025-22388 |
| Oracle Linux | 8 | perfx86_64 | Advisory build | 0:4.18.0-553.87.1.el8_10 | ELSA-2025-22388 |
| Oracle Linux | 8 | python3-perfaarch64 | Advisory build | 0:4.18.0-553.87.1.el8_10 | ELSA-2025-22388 |
| Oracle Linux | 8 | python3-perfx86_64 | Advisory build | 0:4.18.0-553.87.1.el8_10 | ELSA-2025-22388 |
| Red Hat Enterprise Linux | RHEL-8 | bpftoolaarch64 | Advisory build | 4.18.0-553.87.1.el8_10 | RHSA-2025:22388 |
| Red Hat Enterprise Linux | RHEL-8 | bpftoolppc64le | Advisory build | 4.18.0-372.175.1.el8_6 | RHSA-2026:0536 |
| Red Hat Enterprise Linux | RHEL-8 | bpftoolppc64le | Advisory build | 4.18.0-477.124.1.el8_8 | RHSA-2026:0532 |
| Red Hat Enterprise Linux | RHEL-8 | bpftoolppc64le | Advisory build | 4.18.0-553.87.1.el8_10 | RHSA-2025:22388 |
| Red Hat Enterprise Linux | RHEL-8 | bpftools390x | Advisory build | 4.18.0-372.175.1.el8_6 | RHSA-2026:0536 |
| Red Hat Enterprise Linux | RHEL-8 | bpftools390x | Advisory build | 4.18.0-553.87.1.el8_10 | RHSA-2025:22388 |
| Red Hat Enterprise Linux | RHEL-8 | bpftoolx86_64 | Advisory build | 4.18.0-193.187.1.el8_2 | RHSA-2026:3388 |
| Red Hat Enterprise Linux | RHEL-8 | bpftoolx86_64 | Advisory build | 4.18.0-305.183.1.el8_4 | RHSA-2026:0533 |
| Red Hat Enterprise Linux | RHEL-8 | bpftoolx86_64 | Advisory build | 4.18.0-372.175.1.el8_6 | RHSA-2026:0536 |
| Red Hat Enterprise Linux | RHEL-8 | bpftoolx86_64 | Advisory build | 4.18.0-477.124.1.el8_8 | RHSA-2026:0532 |
| Red Hat Enterprise Linux | RHEL-8 | bpftoolx86_64 | Advisory build | 4.18.0-553.87.1.el8_10 | RHSA-2025:22388 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfoaarch64 | Advisory build | 4.18.0-372.175.1.el8_6 | RHSA-2026:0536 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfoaarch64 | Advisory build | 4.18.0-553.87.1.el8_10 | RHSA-2025:22388 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfoppc64le | Advisory build | 4.18.0-372.175.1.el8_6 | RHSA-2026:0536 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfoppc64le | Advisory build | 4.18.0-477.124.1.el8_8 | RHSA-2026:0532 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfoppc64le | Advisory build | 4.18.0-553.87.1.el8_10 | RHSA-2025:22388 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfos390x | Advisory build | 4.18.0-372.175.1.el8_6 | RHSA-2026:0536 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfos390x | Advisory build | 4.18.0-553.87.1.el8_10 | RHSA-2025:22388 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfox86_64 | Advisory build | 4.18.0-193.187.1.el8_2 | RHSA-2026:3388 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfox86_64 | Advisory build | 4.18.0-305.183.1.el8_4 | RHSA-2026:0533 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfox86_64 | Advisory build | 4.18.0-372.175.1.el8_6 | RHSA-2026:0536 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfox86_64 | Advisory build | 4.18.0-477.124.1.el8_8 | RHSA-2026:0532 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfox86_64 | Advisory build | 4.18.0-553.87.1.el8_10 | RHSA-2025:22388 |
| Red Hat Enterprise Linux | RHEL-8 | kernelaarch64 | Advisory build | 4.18.0-372.175.1.el8_6 | RHSA-2026:0536 |
| Red Hat Enterprise Linux | RHEL-8 | kernelaarch64 | Advisory build | 4.18.0-553.87.1.el8_10 | RHSA-2025:22388 |
| Red Hat Enterprise Linux | RHEL-8 | kernelppc64le | Advisory build | 4.18.0-372.175.1.el8_6 | RHSA-2026:0536 |
| Red Hat Enterprise Linux | RHEL-8 | kernelppc64le | Advisory build | 4.18.0-477.124.1.el8_8 | RHSA-2026:0532 |
| Red Hat Enterprise Linux | RHEL-8 | kernelppc64le | Advisory build | 4.18.0-553.87.1.el8_10 | RHSA-2025:22388 |
| Red Hat Enterprise Linux | RHEL-8 | kernels390x | Advisory build | 4.18.0-372.175.1.el8_6 | RHSA-2026:0536 |
| Red Hat Enterprise Linux | RHEL-8 | kernels390x | Advisory build | 4.18.0-553.87.1.el8_10 | RHSA-2025:22388 |
| Red Hat Enterprise Linux | RHEL-8 | kernelsrc | Advisory build | 4.18.0-193.187.1.el8_2 | RHSA-2026:3388 |
| Red Hat Enterprise Linux | RHEL-8 | kernelsrc | Advisory build | 4.18.0-305.183.1.el8_4 | RHSA-2026:0533 |
| Red Hat Enterprise Linux | RHEL-8 | kernelsrc | Advisory build | 4.18.0-372.175.1.el8_6 | RHSA-2026:0536 |
| Red Hat Enterprise Linux | RHEL-8 | kernelsrc | Advisory build | 4.18.0-477.124.1.el8_8 | RHSA-2026:0532 |
| Red Hat Enterprise Linux | RHEL-8 | kernelsrc | Advisory build | 4.18.0-553.87.1.el8_10 | RHSA-2025:22388 |
| Red Hat Enterprise Linux | RHEL-8 | kernelx86_64 | Advisory build | 4.18.0-193.187.1.el8_2 | RHSA-2026:3388 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: nbd: fix incomplete validation of ioctl arg We tested and found an alarm caused by nbd_ioctl arg without verification. The UBSAN warning calltrace like below: UBSAN: Undefined behaviour in fs/buffer.c:1709:35 signed integer overflow: -9223372036854775808 - 1 cannot be represented in type 'long long int' CPU: 3 PID: 2523 Comm: syz-executor.0 Not tainted 4.19.90 #1 Hardware name: linux,dummy-virt (DT) Call trace: dump_backtrace+0x0/0x3f0 arch/arm64/kernel/time.c:78 show_stack+0x28/0x38 arch/arm64/kernel/traps.c:158 __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x170/0x1dc lib/dump_stack.c:118 ubsan_epilogue+0x18/0xb4 lib/ubsan.c:161 handle_overflow+0x188/0x1dc lib/ubsan.c:192 __ubsan_handle_sub_overflow+0x34/0x44 lib/ubsan.c:206 __block_write_full_page+0x94c/0xa20 fs/buffer.c:1709 block_write_full_page+0x1f0/0x280 fs/buffer.c:2934 blkdev_writepage+0x34/0x40 fs/block_dev.c:607 __writepage+0x68/0xe8 mm/page-writeback.c:2305 write_cache_pages+0x44c/0xc70 mm/page-writeback.c:2240 generic_writepages+0xdc/0x148 mm/page-writeback.c:2329 blkdev_writepages+0x2c/0x38 fs/block_dev.c:2114 do_writepages+0xd4/0x250 mm/page-writeback.c:2344 The reason for triggering this warning is __block_write_full_page() -> i_size_read(inode) - 1 overflow. inode->i_size is assigned in __nbd_ioctl() -> nbd_set_size() -> bytesize. We think it is necessary to limit the size of arg to prevent errors. Moreover, __nbd_ioctl() -> nbd_add_socket(), arg will be cast to int. Assuming the value of arg is 0x80000000000000001) (on a 64-bit machine), it will become 1 after the coercion, which will return unexpected results. Fix it by adding checks to prevent passing in too large numbers.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | b9c495bb6d8edc719fd23af2ac67de8303cfc1e8 to < 52851d0c3354b397c11d31dfeb8b2a2fc85a0002 (affected · git)b9c495bb6d8edc719fd23af2ac67de8303cfc1e8 to < fab766c8a1aff715bce7075aab40e780266f8e1a (affected · git)b9c495bb6d8edc719fd23af2ac67de8303cfc1e8 to < ffb75ffaa68723276365d0f9d00b03362b750657 (affected · git)b9c495bb6d8edc719fd23af2ac67de8303cfc1e8 to < 55793ea54d77719a071b1ccc05a05056e3b5e009 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 4.1 (affected)0 to < 4.1 (unaffected · semver)5.15.113 through 5.15.* (unaffected · semver)6.1.30 through 6.1.* (unaffected · semver)6.3.4 through 6.3.* (unaffected · semver)6.4 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
4Provider assertions
2Linux · cna
nbd: fix incomplete validation of ioctl arg
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 681f5f802eb9225fb95e0d967068b4a66444a63608157b985c7b71390b526cf5
- Ingested
- 23 Sep 2026, 08:14:56 UTC
- Source record
- Official CVE record