crypto: bcm - Fix pointer arithmetic
Published Jun 19, 2024
5.5
MEDIUMCVSS 3.1
EPSS 0.25%
Description
In spu2_dump_omd() value of ptr is increased by ciph_key_len instead of hash_iv_len which could lead to going beyond the buffer boundaries. Fix this bug by changing ciph_key_len to hash_iv_len.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
Affected products
-
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version
-
- Version 4.11StatusaffectedConstraints-
- Version 0StatusunaffectedConstraints<4.11
- Version 4.19.316StatusunaffectedConstraints<=4.19.*
- Version 5.10.219StatusunaffectedConstraints<=5.10.*
- Version 5.15.161StatusunaffectedConstraints<=5.15.*
- Version 5.4.278StatusunaffectedConstraints<=5.4.*
- Version 6.1.93StatusunaffectedConstraints<=6.1.*
- Version 6.10StatusunaffectedConstraints<=*
- Version 6.6.33StatusunaffectedConstraints<=6.6.*
- Version 6.8.12StatusunaffectedConstraints<=6.8.*
- Version 6.9.3StatusunaffectedConstraints<=6.9.*
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Linux | Linux | unaffected |
| ||||||||||||||||||||||||||||||||||||
| Linux | Linux | affected |
|
- ≥ 4.11 · < 4.19.316
- ≥ 4.20 · < 5.4.278
- ≥ 5.5 · < 5.10.219
- ≥ 5.11 · < 5.15.161
- ≥ 5.16 · < 6.1.93
- ≥ 6.2 · < 6.6.33
- ≥ 6.7 · < 6.8.12
- ≥ 6.9 · < 6.9.3
No data.
Red Hat Enterprise Linux 8
kernel-0:4.18.0-553.22.1.el8_10
Fixed · RHSA-2024:7000
Red Hat Enterprise Linux 9
kernel-0:5.14.0-427.33.1.el9_4
Fixed · RHSA-2024:5928
Red Hat Enterprise Linux 9
kernel-0:5.14.0-427.33.1.el9_4
Fixed · RHSA-2024:5928
Red Hat Enterprise Linux 6
kernel
Not affected
Red Hat Enterprise Linux 7
kernel
Not affected
Red Hat Enterprise Linux 7
kernel-rt
Not affected
Red Hat Enterprise Linux 8
kernel-rt
Fix deferred
Red Hat Enterprise Linux 9
kernel-rt
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 8 | kernel-0:4.18.0-553.22.1.el8_10 | Fixed | RHSA-2024:7000 |
| Red Hat Enterprise Linux 9 | kernel-0:5.14.0-427.33.1.el9_4 | Fixed | RHSA-2024:5928 |
| Red Hat Enterprise Linux 9 | kernel-0:5.14.0-427.33.1.el9_4 | Fixed | RHSA-2024:5928 |
| Red Hat Enterprise Linux 6 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 7 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 7 | kernel-rt | Not affected | n/a |
| Red Hat Enterprise Linux 8 | kernel-rt | Fix deferred | n/a |
| Red Hat Enterprise Linux 9 | kernel-rt | Not affected | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
References (17)
- https://access.redhat.com/security/cve/CVE-2024-38579 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2293414 Issue Tracking
- https://cert-portal.siemens.com/productcert/html/ssa-265688.html
- https://cert-portal.siemens.com/productcert/html/ssa-613116.html
- https://git.kernel.org/stable/c/2b3460cbf454c6b03d7429e9ffc4fe09322eb1a9 Patch
- https://git.kernel.org/stable/c/3b7a40740f04e2f27114dfd6225c5e721dda9d57 Patch
- https://git.kernel.org/stable/c/49833a8da6407e7e9b532cc4054fdbcaf78f5fdd Patch
- https://git.kernel.org/stable/c/c0082ee420639a97e40cae66778b02b341b005e5 Patch
- https://git.kernel.org/stable/c/c256b616067bfd6d274c679c06986b78d2402434 Patch
- https://git.kernel.org/stable/c/c69a1e4b419c2c466dd8c5602bdebadc353973dd Patch
- https://git.kernel.org/stable/c/d0f14ae223c2421b334c1f1a9e48f1e809aee3a0 Patch
- https://git.kernel.org/stable/c/e719c8991c161977a67197775067ab456b518c7b Patch
- https://git.kernel.org/stable/c/ebed0d666fa709bae9e8cafa8ec6e7ebd1d318c6 Patch
- https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html
- https://lore.kernel.org/linux-cve-announce/2024061947-CVE-2024-38579-e96a@gregkh/T
- https://nvd.nist.gov/vuln/detail/CVE-2024-38579
- https://www.cve.org/CVERecord?id=CVE-2024-38579
Change history (0)
No recorded changes yet.