CVE-2022-50509 PUBLISHED

media: coda: Add check for kmalloc

Assigner: Linux
Reserved: 04.10.2025 Published: 07.10.2025 Updated: 07.10.2025

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

media: coda: Add check for kmalloc

As the kmalloc may return NULL pointer, it should be better to check the return value in order to avoid NULL poineter dereference, same as the others.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from cb1d3a336371e35c3920cc50a701c5403c255644 to d308c4a035b636756786af91e5f39f9d92d7d42a (excl.)
  • affected from cb1d3a336371e35c3920cc50a701c5403c255644 to 11e32126b3e56c3156fb610d793732acd2bdac4f (excl.)
  • affected from cb1d3a336371e35c3920cc50a701c5403c255644 to ba9cc9e2035f7a45f5222543265daf7cd51f2530 (excl.)
  • affected from cb1d3a336371e35c3920cc50a701c5403c255644 to 7a2c66429b04e85fee44d6d9f455327bf23cf49c (excl.)
  • affected from cb1d3a336371e35c3920cc50a701c5403c255644 to d9b37ea8869e4e6da90c07a310d819a78cbd23d2 (excl.)
  • affected from cb1d3a336371e35c3920cc50a701c5403c255644 to 441c05485cf1a29eef05c1fd8281716815283315 (excl.)
  • affected from cb1d3a336371e35c3920cc50a701c5403c255644 to aa17a252dbde432095e390e2092205d4debb12e1 (excl.)
  • affected from cb1d3a336371e35c3920cc50a701c5403c255644 to 0209e70ad496c1fcd85c2ec70e6736fd09f95d14 (excl.)
  • affected from cb1d3a336371e35c3920cc50a701c5403c255644 to 6e5e5defdb8b0186312c2f855ace175aee6daf9b (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 3.19 is affected
  • unaffected from 0 to 3.19 (excl.)
  • unaffected from 4.9.337 to 4.9.* (incl.)
  • unaffected from 4.14.303 to 4.14.* (incl.)
  • unaffected from 4.19.270 to 4.19.* (incl.)
  • unaffected from 5.4.229 to 5.4.* (incl.)
  • unaffected from 5.10.163 to 5.10.* (incl.)
  • unaffected from 5.15.86 to 5.15.* (incl.)
  • unaffected from 6.0.16 to 6.0.* (incl.)
  • unaffected from 6.1.2 to 6.1.* (incl.)
  • unaffected from 6.2 to * (incl.)

References