CVE-2024-50259
published medium CVSS 3.1 · 5.5netdevsim: Add trailing zero to terminate the string in nsim_nexthop_bucket_activity_write()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxc6385c0b67c527b298111775bc89a7407ba1581e to < c2150f666c6fc301d5d1643ed0f92251f1a0ff0d · c6385c0b67c527b298111775bc89a7407ba1581e to < bcba86e03b3aac361ea671672cf48eed11f9011c · c6385c0b67c527b298111775bc89a7407ba1581e to < 6a604877160fe5ab2e1985d5ce1ba6a61abe0693 · c6385c0b67c527b298111775bc89a7407ba1581e to < 27bd7a742e171362c9eb52ad5d1d71d3321f949f · c6385c0b67c527b298111775bc89a7407ba1581e to < 4ce1f56a1eaced2523329bef800d004e30f2f76c · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.13 (affected) · 0 to < 5.13 (unaffected · semver) · 5.15.171 through 5.15.* (unaffected · semver) · 6.1.116 through 6.1.* (unaffected · semver) · 6.6.60 through 6.6.* (unaffected · semver) · 6.11.7 through 6.11.* (unaffected · semver) · 6.12 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.15-2025-060 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2025-802 | Fixed | Not stated | Amazon Linux assessment |
| Debian | bookworm | linux | Advisory build | 6.1.119-1 | DSA-5818-1 |
| Oracle Linux | 8 | bpftoolaarch64 | Advisory build | 0:5.15.0-303.171.5.2.el8uek | ELSA-2024-12887 |
| SUSE / openSUSE | SLE-15-SP4 | cluster-md-kmp-defaultaarch64 | Advisory build | 5.14.21-150400.24.144.1 | SUSE-SU-2024:4346-1 |
Show 97 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Debian | bullseye | linux-6.1 | Advisory build | 6.1.119-1~deb11u1 | DLA-4008-1 |
| Oracle Linux | 8 | bpftoolx86_64 | Advisory build | 0:5.15.0-303.171.5.2.el8uek | ELSA-2024-12887 |
| Oracle Linux | 8 | kernel-uekaarch64 | Advisory build | 0:5.15.0-303.171.5.2.el8uek | ELSA-2024-12887 |
| Oracle Linux | 8 | kernel-uekx86_64 | Advisory build | 0:5.15.0-303.171.5.2.el8uek | ELSA-2024-12887 |
| Oracle Linux | 8 | kernel-uek-containeraarch64 | Advisory build | 0:5.15.0-303.171.5.2.el8uek | ELSA-2024-12887 |
| Oracle Linux | 8 | kernel-uek-containerx86_64 | Advisory build | 0:5.15.0-303.171.5.2.el8uek | ELSA-2024-12887 |
| Oracle Linux | 8 | kernel-uek-container-debugaarch64 | Advisory build | 0:5.15.0-303.171.5.2.el8uek | ELSA-2024-12887 |
| Oracle Linux | 8 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.15.0-303.171.5.2.el8uek | ELSA-2024-12887 |
| Oracle Linux | 8 | kernel-uek-coreaarch64 | Advisory build | 0:5.15.0-303.171.5.2.el8uek | ELSA-2024-12887 |
| Oracle Linux | 8 | kernel-uek-corex86_64 | Advisory build | 0:5.15.0-303.171.5.2.el8uek | ELSA-2024-12887 |
| Oracle Linux | 8 | kernel-uek-debugaarch64 | Advisory build | 0:5.15.0-303.171.5.2.el8uek | ELSA-2024-12887 |
| Oracle Linux | 8 | kernel-uek-debugx86_64 | Advisory build | 0:5.15.0-303.171.5.2.el8uek | ELSA-2024-12887 |
| Oracle Linux | 8 | kernel-uek-debug-coreaarch64 | Advisory build | 0:5.15.0-303.171.5.2.el8uek | ELSA-2024-12887 |
| Oracle Linux | 8 | kernel-uek-debug-corex86_64 | Advisory build | 0:5.15.0-303.171.5.2.el8uek | ELSA-2024-12887 |
| Oracle Linux | 8 | kernel-uek-debug-develaarch64 | Advisory build | 0:5.15.0-303.171.5.2.el8uek | ELSA-2024-12887 |
| Oracle Linux | 8 | kernel-uek-debug-develx86_64 | Advisory build | 0:5.15.0-303.171.5.2.el8uek | ELSA-2024-12887 |
| Oracle Linux | 8 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:5.15.0-303.171.5.2.el8uek | ELSA-2024-12887 |
| Oracle Linux | 8 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:5.15.0-303.171.5.2.el8uek | ELSA-2024-12887 |
| Oracle Linux | 8 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:5.15.0-303.171.5.2.el8uek | ELSA-2024-12887 |
| Oracle Linux | 8 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:5.15.0-303.171.5.2.el8uek | ELSA-2024-12887 |
| Oracle Linux | 8 | kernel-uek-develaarch64 | Advisory build | 0:5.15.0-303.171.5.2.el8uek | ELSA-2024-12887 |
| Oracle Linux | 8 | kernel-uek-develx86_64 | Advisory build | 0:5.15.0-303.171.5.2.el8uek | ELSA-2024-12887 |
| Oracle Linux | 8 | kernel-uek-docaarch64 | Advisory build | 0:5.15.0-303.171.5.2.el8uek | ELSA-2024-12887 |
| Oracle Linux | 8 | kernel-uek-docx86_64 | Advisory build | 0:5.15.0-303.171.5.2.el8uek | ELSA-2024-12887 |
| Oracle Linux | 8 | kernel-uek-modulesaarch64 | Advisory build | 0:5.15.0-303.171.5.2.el8uek | ELSA-2024-12887 |
| Oracle Linux | 8 | kernel-uek-modulesx86_64 | Advisory build | 0:5.15.0-303.171.5.2.el8uek | ELSA-2024-12887 |
| Oracle Linux | 8 | kernel-uek-modules-extraaarch64 | Advisory build | 0:5.15.0-303.171.5.2.el8uek | ELSA-2024-12887 |
| Oracle Linux | 8 | kernel-uek-modules-extrax86_64 | Advisory build | 0:5.15.0-303.171.5.2.el8uek | ELSA-2024-12887 |
| Oracle Linux | 9 | bpftoolaarch64 | Advisory build | 0:5.15.0-303.171.5.2.el9uek | ELSA-2024-12887 |
| Oracle Linux | 9 | bpftoolx86_64 | Advisory build | 0:5.15.0-303.171.5.2.el9uek | ELSA-2024-12887 |
| Oracle Linux | 9 | kernel-uekaarch64 | Advisory build | 0:5.15.0-303.171.5.2.el9uek | ELSA-2024-12887 |
| Oracle Linux | 9 | kernel-uekx86_64 | Advisory build | 0:5.15.0-303.171.5.2.el9uek | ELSA-2024-12887 |
| Oracle Linux | 9 | kernel-uek-containeraarch64 | Advisory build | 0:5.15.0-303.171.5.2.el9uek | ELSA-2024-12887 |
| Oracle Linux | 9 | kernel-uek-containerx86_64 | Advisory build | 0:5.15.0-303.171.5.2.el9uek | ELSA-2024-12887 |
| Oracle Linux | 9 | kernel-uek-container-debugaarch64 | Advisory build | 0:5.15.0-303.171.5.2.el9uek | ELSA-2024-12887 |
| Oracle Linux | 9 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.15.0-303.171.5.2.el9uek | ELSA-2024-12887 |
| Oracle Linux | 9 | kernel-uek-coreaarch64 | Advisory build | 0:5.15.0-303.171.5.2.el9uek | ELSA-2024-12887 |
| Oracle Linux | 9 | kernel-uek-corex86_64 | Advisory build | 0:5.15.0-303.171.5.2.el9uek | ELSA-2024-12887 |
| Oracle Linux | 9 | kernel-uek-debugaarch64 | Advisory build | 0:5.15.0-303.171.5.2.el9uek | ELSA-2024-12887 |
| Oracle Linux | 9 | kernel-uek-debugx86_64 | Advisory build | 0:5.15.0-303.171.5.2.el9uek | ELSA-2024-12887 |
| Oracle Linux | 9 | kernel-uek-debug-coreaarch64 | Advisory build | 0:5.15.0-303.171.5.2.el9uek | ELSA-2024-12887 |
| Oracle Linux | 9 | kernel-uek-debug-corex86_64 | Advisory build | 0:5.15.0-303.171.5.2.el9uek | ELSA-2024-12887 |
| Oracle Linux | 9 | kernel-uek-debug-develaarch64 | Advisory build | 0:5.15.0-303.171.5.2.el9uek | ELSA-2024-12887 |
| Oracle Linux | 9 | kernel-uek-debug-develx86_64 | Advisory build | 0:5.15.0-303.171.5.2.el9uek | ELSA-2024-12887 |
| Oracle Linux | 9 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:5.15.0-303.171.5.2.el9uek | ELSA-2024-12887 |
| Oracle Linux | 9 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:5.15.0-303.171.5.2.el9uek | ELSA-2024-12887 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:5.15.0-303.171.5.2.el9uek | ELSA-2024-12887 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:5.15.0-303.171.5.2.el9uek | ELSA-2024-12887 |
| Oracle Linux | 9 | kernel-uek-develaarch64 | Advisory build | 0:5.15.0-303.171.5.2.el9uek | ELSA-2024-12887 |
| Oracle Linux | 9 | kernel-uek-develx86_64 | Advisory build | 0:5.15.0-303.171.5.2.el9uek | ELSA-2024-12887 |
| Oracle Linux | 9 | kernel-uek-docaarch64 | Advisory build | 0:5.15.0-303.171.5.2.el9uek | ELSA-2024-12887 |
| Oracle Linux | 9 | kernel-uek-docx86_64 | Advisory build | 0:5.15.0-303.171.5.2.el9uek | ELSA-2024-12887 |
| Oracle Linux | 9 | kernel-uek-modulesaarch64 | Advisory build | 0:5.15.0-303.171.5.2.el9uek | ELSA-2024-12887 |
| Oracle Linux | 9 | kernel-uek-modulesx86_64 | Advisory build | 0:5.15.0-303.171.5.2.el9uek | ELSA-2024-12887 |
| Oracle Linux | 9 | kernel-uek-modules-extraaarch64 | Advisory build | 0:5.15.0-303.171.5.2.el9uek | ELSA-2024-12887 |
| Oracle Linux | 9 | kernel-uek-modules-extrax86_64 | Advisory build | 0:5.15.0-303.171.5.2.el9uek | ELSA-2024-12887 |
| SUSE / openSUSE | SLE-15-SP4 | cluster-md-kmp-defaultppc64le | Advisory build | 5.14.21-150400.24.144.1 | SUSE-SU-2024:4346-1 |
| SUSE / openSUSE | SLE-15-SP4 | cluster-md-kmp-defaults390x | Advisory build | 5.14.21-150400.24.144.1 | SUSE-SU-2024:4346-1 |
| SUSE / openSUSE | SLE-15-SP4 | cluster-md-kmp-defaultx86_64 | Advisory build | 5.14.21-150400.24.144.1 | SUSE-SU-2024:4346-1 |
| SUSE / openSUSE | SLE-15-SP4 | dlm-kmp-defaultaarch64 | Advisory build | 5.14.21-150400.24.144.1 | SUSE-SU-2024:4346-1 |
| SUSE / openSUSE | SLE-15-SP4 | dlm-kmp-defaultppc64le | Advisory build | 5.14.21-150400.24.144.1 | SUSE-SU-2024:4346-1 |
| SUSE / openSUSE | SLE-15-SP4 | dlm-kmp-defaults390x | Advisory build | 5.14.21-150400.24.144.1 | SUSE-SU-2024:4346-1 |
| SUSE / openSUSE | SLE-15-SP4 | dlm-kmp-defaultx86_64 | Advisory build | 5.14.21-150400.24.144.1 | SUSE-SU-2024:4346-1 |
| SUSE / openSUSE | SLE-15-SP4 | gfs2-kmp-defaultaarch64 | Advisory build | 5.14.21-150400.24.144.1 | SUSE-SU-2024:4346-1 |
| SUSE / openSUSE | SLE-15-SP4 | gfs2-kmp-defaultppc64le | Advisory build | 5.14.21-150400.24.144.1 | SUSE-SU-2024:4346-1 |
| SUSE / openSUSE | SLE-15-SP4 | gfs2-kmp-defaults390x | Advisory build | 5.14.21-150400.24.144.1 | SUSE-SU-2024:4346-1 |
| SUSE / openSUSE | SLE-15-SP4 | gfs2-kmp-defaultx86_64 | Advisory build | 5.14.21-150400.24.144.1 | SUSE-SU-2024:4346-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-64kbaarch64 | Advisory build | 5.14.21-150400.24.144.1 | SUSE-SU-2024:4346-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-64kb-develaarch64 | Advisory build | 5.14.21-150400.24.144.1 | SUSE-SU-2024:4346-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-defaultaarch64 | Advisory build | 5.14.21-150400.24.144.1 | SUSE-SU-2024:4346-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-defaultppc64le | Advisory build | 5.14.21-150400.24.144.1 | SUSE-SU-2024:4346-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-defaults390x | Advisory build | 5.14.21-150400.24.144.1 | SUSE-SU-2024:4346-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-defaultx86_64 | Advisory build | 5.14.21-150400.24.144.1 | SUSE-SU-2024:4346-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-default-baseaarch64 | Advisory build | 5.14.21-150400.24.144.1.150400.24.70.1 | SUSE-SU-2024:4346-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-default-baseppc64le | Advisory build | 5.14.21-150400.24.144.1.150400.24.70.1 | SUSE-SU-2024:4346-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-default-basex86_64 | Advisory build | 5.14.21-150400.24.144.1.150400.24.70.1 | SUSE-SU-2024:4346-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-default-develaarch64 | Advisory build | 5.14.21-150400.24.144.1 | SUSE-SU-2024:4346-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-default-develppc64le | Advisory build | 5.14.21-150400.24.144.1 | SUSE-SU-2024:4346-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-default-devels390x | Advisory build | 5.14.21-150400.24.144.1 | SUSE-SU-2024:4346-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-default-develx86_64 | Advisory build | 5.14.21-150400.24.144.1 | SUSE-SU-2024:4346-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-default-livepatchppc64le | Advisory build | 5.14.21-150400.24.144.1 | SUSE-SU-2024:4346-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-default-livepatchs390x | Advisory build | 5.14.21-150400.24.144.1 | SUSE-SU-2024:4346-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-default-livepatchx86_64 | Advisory build | 5.14.21-150400.24.144.1 | SUSE-SU-2024:4346-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-default-livepatch-develppc64le | Advisory build | 5.14.21-150400.24.144.1 | SUSE-SU-2024:4346-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-default-livepatch-devels390x | Advisory build | 5.14.21-150400.24.144.1 | SUSE-SU-2024:4346-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-default-livepatch-develx86_64 | Advisory build | 5.14.21-150400.24.144.1 | SUSE-SU-2024:4346-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-develnoarch | Advisory build | 5.14.21-150400.24.144.1 | SUSE-SU-2024:4346-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-docsnoarch | Advisory build | 5.14.21-150400.24.144.1 | SUSE-SU-2024:4346-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-livepatch-5_14_21-150400_24_144-defaultppc64le | Advisory build | 1-150400.9.3.1 | SUSE-SU-2024:4346-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-livepatch-5_14_21-150400_24_144-defaults390x | Advisory build | 1-150400.9.3.1 | SUSE-SU-2024:4346-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-livepatch-5_14_21-150400_24_144-defaultx86_64 | Advisory build | 1-150400.9.3.1 | SUSE-SU-2024:4346-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-macrosnoarch | Advisory build | 5.14.21-150400.24.144.1 | SUSE-SU-2024:4346-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-obs-buildaarch64 | Advisory build | 5.14.21-150400.24.144.1 | SUSE-SU-2024:4346-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-obs-buildppc64le | Advisory build | 5.14.21-150400.24.144.1 | SUSE-SU-2024:4346-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-obs-builds390x | Advisory build | 5.14.21-150400.24.144.1 | SUSE-SU-2024:4346-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-obs-buildx86_64 | Advisory build | 5.14.21-150400.24.144.1 | SUSE-SU-2024:4346-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-sourcenoarch | Advisory build | 5.14.21-150400.24.144.1 | SUSE-SU-2024:4346-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: netdevsim: Add trailing zero to terminate the string in nsim_nexthop_bucket_activity_write() This was found by a static analyzer. We should not forget the trailing zero after copy_from_user() if we will further do some string operations, sscanf() in this case. Adding a trailing zero will ensure that the function performs properly.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.5 / 10
- Severity
- medium
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | c6385c0b67c527b298111775bc89a7407ba1581e to < c2150f666c6fc301d5d1643ed0f92251f1a0ff0d (affected · git)c6385c0b67c527b298111775bc89a7407ba1581e to < bcba86e03b3aac361ea671672cf48eed11f9011c (affected · git)c6385c0b67c527b298111775bc89a7407ba1581e to < 6a604877160fe5ab2e1985d5ce1ba6a61abe0693 (affected · git)c6385c0b67c527b298111775bc89a7407ba1581e to < 27bd7a742e171362c9eb52ad5d1d71d3321f949f (affected · git)c6385c0b67c527b298111775bc89a7407ba1581e to < 4ce1f56a1eaced2523329bef800d004e30f2f76c (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.13 (affected)0 to < 5.13 (unaffected · semver)5.15.171 through 5.15.* (unaffected · semver)6.1.116 through 6.1.* (unaffected · semver)6.6.60 through 6.6.* (unaffected · semver)6.11.7 through 6.11.* (unaffected · semver)6.12 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
1- CWE-125 CWE-125 Out-of-bounds Read
References
6- https://git.kernel.org/stable/c/27bd7a742e171362c9eb52ad5d1d71d3321f949f
- https://git.kernel.org/stable/c/4ce1f56a1eaced2523329bef800d004e30f2f76c
- https://git.kernel.org/stable/c/6a604877160fe5ab2e1985d5ce1ba6a61abe0693
- https://git.kernel.org/stable/c/bcba86e03b3aac361ea671672cf48eed11f9011c
- https://git.kernel.org/stable/c/c2150f666c6fc301d5d1643ed0f92251f1a0ff0d
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html
Provider assertions
3Linux · cna
netdevsim: Add trailing zero to terminate the string in nsim_nexthop_bucket_activity_write()
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- a015b689814ec5cad7cd284d3300ec582c11d3d88e15698da194859a7b9b382d
- Ingested
- 23 Sep 2026, 08:29:52 UTC
- Source record
- Official CVE record