CVE-2024-38578 remediation guide
Linux Linux, RUGGEDCOM RST2428P, SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family
In the Linux kernel, the following vulnerability has been resolved: ecryptfs: Fix buffer size for tag 66 packet The 'TAG 66 Packet Format' description is missing the cipher code and checksum fields that are packed into the message packet. As a result, the buffer allocated for the packet is 3 bytes too small and write_tag_66_packet() will write up to 3 bytes past the end of the buffer. Fix this by increasing the size of the allocation so the whole packet will always fit in the buffer. This fixes the below kasan slab-out-of-bounds bug: BUG: KASAN: slab-out-of-bounds in ecryptfs_generate_key_p...
Identify the affected asset
Confirm whether Linux Linux, RUGGEDCOM RST2428P, SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family is installed, record the deployed version and installation path, and identify exposed interfaces.
- Record the product name, package or appliance identifier, and installed version.
- Identify internet-facing, administrative, API, and internal access paths.
- Preserve the pre-change configuration and relevant service logs.
Validate the affected-version match
Compare the deployed version with the affected range: >= dddfa461fc8951f9b5f951c13565b6cac678635a < 1c125b9287e58f364d82174efb167414b92b11f1, >= dddfa461fc8951f9b5f951c13565b6cac678635a < 235b85981051cd68fc215fd32a81c6f116bfc4df, >= dddfa461fc8951f9b5f951c13565b6cac678635a < edbfc42ab080e78c6907d40a42c9d10b69e445c1, >= dddfa461fc8951f9b5f951c13565b6cac678635a < 12db25a54ce6bb22b0af28010fff53ef9cb3fe93, >= dddfa461fc8951f9b5f951c13565b6cac678635a < 0d0f8ba042af16519f1ef7dd10463a33b21b677c, >= dddfa461fc8951f9b5f951c13565b6cac678635a < 2ed750b7ae1b5dc72896d7dd114c419afd3d1910, >= dddfa461fc8951f9b5f951c13565b6cac678635a < a20f09452e2f58f761d11ad7b96b5c894c91030e, >= dddfa461fc8951f9b5f951c13565b6cac678635a < f6008487f1eeb8693f8d2a36a89c87d9122ddf74, >= dddfa461fc8951f9b5f951c13565b6cac678635a < 85a6a1aff08ec9f5b929d345d066e2830e8818e5, >= 2.6.21, < V3.1, >= 2.6.21 < 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. Treat incomplete inventory results as unresolved.
Prioritize with independent signals
The CVSS severity warrants an early asset and exposure review. Combine this signal with asset criticality, exposure, compensating controls, and business impact.
Apply supported remediation
Follow the vendor advisory or supported update path. Current fixed-version status: 4.19.316, 5.4.278, 5.10.219, 5.15.161, 6.1.93, 6.6.33, 6.8.12, 6.9.3. Preserve configuration and rollback material before change.
Verify the result
Confirm the resulting version, service health, authentication and access paths, monitoring coverage, and relevant security logs.
- Confirm the expected version and package state.
- Run a functional health check for critical service paths.
- Review authentication, error, application, and security monitoring logs.
- Reassess exposure if the supported fix cannot be applied.
Operational boundary
This page does not replace the vendor advisory, support contract, change-management process, or recovery plan. Do not infer that an asset is unaffected from an incomplete inventory query or a missing fixed-version field.