diff options
| author | Ashwin Gundarapu <linuxuser509@zohomail.in> | 2026-05-22 21:16:52 +0530 |
|---|---|---|
| committer | Hans Verkuil <hverkuil+cisco@kernel.org> | 2026-07-10 09:53:50 +0200 |
| commit | ab8c3ed895586f933bdd134fe7765a2e9f303ffd (patch) | |
| tree | d3b9460c1bd0bb4cbc2068503ef86646030c146a /include | |
| parent | bedd5ea6b718741fff04ffbfe6ec803ca62841cd (diff) | |
| download | linux-ab8c3ed895586f933bdd134fe7765a2e9f303ffd.tar.gz linux-ab8c3ed895586f933bdd134fe7765a2e9f303ffd.zip | |
media: cx231xx: fix null pointer deref in snd_cx231xx_pcm_close
Add a null check for the dev pointer after retrieving it from
the substream. Without this, a use-after-free or null pointer
dereference can occur when closing the audio device, causing
a kernel page fault.
Link: https://bugzilla.redhat.com/show_bug.cgi?id=2365068
Signed-off-by: Ashwin Gundarapu <linuxuser509@zohomail.in>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
