Lucene search

K
nvd416baaa9-dc9f-4396-8d5f-8c081fb06d67NVD:CVE-2021-47473
HistoryMay 22, 2024 - 7:15 a.m.

CVE-2021-47473

2024-05-2207:15:12
416baaa9-dc9f-4396-8d5f-8c081fb06d67
web.nvd.nist.gov
linux
kernel
scsi
vulnerability
memory leak
fix

6.4 Medium

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

15.6%

In the Linux kernel, the following vulnerability has been resolved:

scsi: qla2xxx: Fix a memory leak in an error path of qla2x00_process_els()

Commit 8c0eb596baa5 (“[SCSI] qla2xxx: Fix a memory leak in an error path of
qla2x00_process_els()”), intended to change:

    bsg_job->request->msgcode == FC_BSG_HST_ELS_NOLOGIN


    bsg_job->request->msgcode != FC_BSG_RPT_ELS

but changed it to:

    bsg_job->request->msgcode == FC_BSG_RPT_ELS

instead.

Change the == to a != to avoid leaking the fcport structure or freeing
unallocated memory.

6.4 Medium

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

15.6%