Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2021-47265

MEDIUM 5.5EPSS 12%

RDMA: Verify port when creating flow rule

Mitigation

  • Upgrade Linux to 2adcb4c5a52a2623cd2b43efa7041e74d19f3a5e or later.

Who should check

  • Anyone running Linux >= 436f2ad05a0b65b1467ddf51bc68171c381bf844, < 8dc1b0e0ca204596c50bcd159ee069ae0f998176; >= 436f2ad05a0b65b1467ddf51bc68171c381bf844, < 2adcb4c5a52a2623cd2b43efa7041e74d19f3a5e
  • Anyone running Linux 3.12

Vulnerability facts

Affected
Linux >= 436f2ad05a0b65b1467ddf51bc68171c381bf844, < 8dc1b0e0ca204596c50bcd159ee069ae0f998176; >= 436f2ad05a0b65b1467ddf51bc68171c381bf844, < 2adcb4c5a52a2623cd2b43efa7041e74d19f3a5e; Linux 3.12
Fixed in
Linux 8dc1b0e0ca204596c50bcd159ee069ae0f998176, Linux 2adcb4c5a52a2623cd2b43efa7041e74d19f3a5e
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: None
  • Availability impact: High
EPSS
0.27% chance of exploitation in 30 days (percentile 12, 2026-11-26)
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: RDMA: Verify port when creating flow rule Validate port value provided by the user and with that remove no longer needed validation by the driver. The missing check in the mlx5_ib driver could cause to the below oops. Call trace: _create_flow_rule+0x2d4/0xf28 [mlx5_ib] mlx5_ib_create_flow+0x2d0/0x5b0 [mlx5_ib] ib_uverbs_ex_create_flow+0x4cc/0x624 [ib_uverbs] ib_uverbs_handler_UVERBS_METHOD_INVOKE_WRITE+0xd4/0x150 [ib_uverbs] ib_uverbs_cmd_verbs.isra.7+0xb28/0xc50 [ib_uverbs] ib_uverbs_ioctl+0x158/0x1d0 [ib_uverbs] do_vfs_ioctl+0xd0/0xaf0 ksys_ioctl+0x84/0xb4 __arm64_sys_ioctl+0x28/0xc4 el0_svc_common.constprop.3+0xa4/0x254 el0_svc_handler+0x84/0xa0 el0_svc+0x10/0x26c Code: b9401260 f9615681 51000400 8b001c20 (f9403c1a)

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 436f2ad05a0b65b1467ddf51bc68171c381bf844, < 8dc1b0e0ca204596c50bcd159ee069ae0f998176; >= 436f2ad05a0b65b1467ddf51bc68171c381bf844, < 2adcb4c5a52a2623cd2b43efa7041e74d19f3a5e—cvelist
Linux3.12—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2021-47265. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2021-47265.md
Affected: Linux >= 436f2ad05a0b65b1467ddf51bc68171c381bf844, < 8dc1b0e0ca204596c50bcd159ee069ae0f998176; >= 436f2ad05a0b65b1467ddf51bc68171c381bf844, < 2adcb4c5a52a2623cd2b43efa7041e74d19f3a5e; Linux 3.12
Fixed in: Linux 8dc1b0e0ca204596c50bcd159ee069ae0f998176, Linux 2adcb4c5a52a2623cd2b43efa7041e74d19f3a5e

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2021-47265 being exploited?

There is no confirmed exploitation: CVE-2021-47265 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.27% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2021-47265?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2021-47265?

Linux >= 436f2ad05a0b65b1467ddf51bc68171c381bf844, < 8dc1b0e0ca204596c50bcd159ee069ae0f998176; >= 436f2ad05a0b65b1467ddf51bc68171c381bf844, < 2adcb4c5a52a2623cd2b43efa7041e74d19f3a5e; Linux 3.12.

Is there a fix for CVE-2021-47265?

Yes. Fixed in Linux 8dc1b0e0ca204596c50bcd159ee069ae0f998176, Linux 2adcb4c5a52a2623cd2b43efa7041e74d19f3a5e. Upgrade Linux to 2adcb4c5a52a2623cd2b43efa7041e74d19f3a5e or later.

How do I check if I'm affected by CVE-2021-47265?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors