# CVE-2021-47077: linux: In the Linux kernel, the following vulnerability has been resolved:  scsi: qedf: Add pointer checks in qedf_update_li...

CVE-2021-47077 is fixed in linux on 1 platform, first by DEBIAN-CVE-2021-47077, released March 1, 2024. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2021-47077
- Priority: Routine
- CVSS: 5.5 (medium)
- EPSS: 0.0023
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Mar 1, 2024

## Description

In the Linux kernel, the following vulnerability has been resolved:  scsi: qedf: Add pointer checks in qedf_update_link_speed()  The following trace was observed:   [   14.042059] Call Trace:  [   14.042061]  <IRQ>  [   14.042068]  qedf_link_update+0x144/0x1f0 [qedf]  [   14.042117]  qed_link_update+0x5c/0x80 [qed]  [   14.042135]  qed_mcp_handle_link_change+0x2d2/0x410 [qed]  [   14.042155]  ? qed_set_ptt+0x70/0x80 [qed]  [   14.042170]  ? qed_set_ptt+0x70/0x80 [qed]  [   14.042186]  ? qed_rd+0x13/0x40 [qed]  [   14.042205]  qed_mcp_handle_events+0x437/0x690 [qed]  [   14.042221]  ? qed_set_ptt+0x70/0x80 [qed]  [   14.042239]  qed_int_sp_dpc+0x3a6/0x3e0 [qed]  [   14.042245]  tasklet_action_common.isra.14+0x5a/0x100  [   14.042250]  __do_softirq+0xe4/0x2f8  [   14.042253]  irq_exit+0xf7/0x100  [   14.042255]  do_IRQ+0x7f/0xd0  [   14.042257]  common_interrupt+0xf/0xf  [   14.042259]  </IRQ>  API qedf_link_update() is getting called from QED but by that time shost_data is not initialised. This results in a NULL pointer dereference when we try to dereference shost_data while updating supported_speeds.  Add a NULL pointer check before dereferencing shost_data.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | linux Debian 12.15 (bookworm) | 5.10.40-1 | [DEBIAN-CVE-2021-47077](https://patchblox.com/security/data/fix/linux/debian-cve-2021-47077.md) | Mar 1, 2024 |
| Linux | linux Debian 13.5 (trixie) | 5.10.40-1 | [DEBIAN-CVE-2021-47077](https://patchblox.com/security/data/fix/linux/debian-cve-2021-47077.md) | Mar 1, 2024 |
| Linux | linux Debian 14 | 5.10.40-1 | [DEBIAN-CVE-2021-47077](https://patchblox.com/security/data/fix/linux/debian-cve-2021-47077.md) | Mar 1, 2024 |

---

Data as of 2026-11-12T01:51:14Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
