CVE REMEDIATION GUIDE
Review reviewHighFixed-version data available

CVE-2022-50536 remediation guide

Linux Linux, linux kernel

In the Linux kernel, the following vulnerability has been resolved: bpf, sockmap: Fix repeated calls to sock_put() when msg has more_data In tcp_bpf_send_verdict() redirection, the eval variable is assigned to __SK_REDIRECT after the apply_bytes data is sent, if msg has more_data, sock_put() will be called multiple times. We should reset the eval variable to __SK_NONE every time more_data starts. This causes: IPv4: Attempt to release TCP socket in state 1 00000000b4c925d7 ------------[ cut here ]------------ refcount_t: addition on 0; use-after-free. WARNING: CPU: 5 PID: 4482 at lib/refcoun...

Open CVE record
ProductLinux Linux, linux kernel
Affected versions>= 5f0bfe21c853917aae4bc5a70fe57ddb4054443e < 7508b9f4daac4ec7dfe0b6fb2d688b1c1c105e10, >= 15dec6d8f8642a26d6a272af2d7f9877df8f02b8 < 28e4a763cd4a2b1a78852216ef4bd7df3a05cec6, >= cd9733f5d75c94a32544d6ce5be47e14194cf137 < 8786bde11a4f31b63b3036731df0b47337a7a245, >= cd9733f5d75c94a32544d6ce5be47e14194cf137 < 578a7628b838a3ac8ad61deaab5a816ff032ac13, >= cd9733f5d75c94a32544d6ce5be47e14194cf137 < 113236e8f49f262f318c00ebb14b15f4834e87c1, >= cd9733f5d75c94a32544d6ce5be47e14194cf137 < 7a9841ca025275b5b0edfb0b618934abb6ceec15, >= 6f226ffe4458ea3b8c33287cb8c86f87dc198dce, >= 5.4.157 < 5.4.229, >= 5.10.77 < 5.10.163, >= 5.14.16 < 5.15, >= 5.15, >= 5.15.1 < 5.15.86, >= 5.16 < 6.0.16, >= 6.1 < 6.1.2, 5.15
Fixed versions5.4.229, 5.10.163, 5.15, 5.15.86, 6.0.16, 6.1.2
Priority basisReview · CVSS 7.8 · EPSS 0.16%
01

Identify the affected asset

Confirm whether Linux Linux, linux kernel 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.
02

Validate the affected-version match

Compare the deployed version with the affected range: >= 5f0bfe21c853917aae4bc5a70fe57ddb4054443e < 7508b9f4daac4ec7dfe0b6fb2d688b1c1c105e10, >= 15dec6d8f8642a26d6a272af2d7f9877df8f02b8 < 28e4a763cd4a2b1a78852216ef4bd7df3a05cec6, >= cd9733f5d75c94a32544d6ce5be47e14194cf137 < 8786bde11a4f31b63b3036731df0b47337a7a245, >= cd9733f5d75c94a32544d6ce5be47e14194cf137 < 578a7628b838a3ac8ad61deaab5a816ff032ac13, >= cd9733f5d75c94a32544d6ce5be47e14194cf137 < 113236e8f49f262f318c00ebb14b15f4834e87c1, >= cd9733f5d75c94a32544d6ce5be47e14194cf137 < 7a9841ca025275b5b0edfb0b618934abb6ceec15, >= 6f226ffe4458ea3b8c33287cb8c86f87dc198dce, >= 5.4.157 < 5.4.229, >= 5.10.77 < 5.10.163, >= 5.14.16 < 5.15, >= 5.15, >= 5.15.1 < 5.15.86, >= 5.16 < 6.0.16, >= 6.1 < 6.1.2, 5.15. Treat incomplete inventory results as unresolved.

03

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.

04

Apply supported remediation

Follow the vendor advisory or supported update path. Current fixed-version status: 5.4.229, 5.10.163, 5.15, 5.15.86, 6.0.16, 6.1.2. Preserve configuration and rollback material before change.

05

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.

CVE-2022-50536 Remediation Guide | SECUFOCUS NOW