{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-50745","id":"CVE-2022-50745","title":"staging: media: tegra-video: fix device_node use after free","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nstaging: media: tegra-video: fix device_node use after free\n\nAt probe time this code path is followed:\n\n * tegra_csi_init\n   * tegra_csi_channels_alloc\n     * for_each_child_of_node(node, channel) -- iterates over channels\n       * automatically gets 'channel'\n         * tegra_csi_channel_alloc()\n           * saves into chan->of_","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nstaging: media: tegra-video: fix device_node use after free\n\nAt probe time this code path is followed:\n\n * tegra_csi_init\n   * tegra_csi_channels_alloc\n     * for_each_child_of_node(node, channel) -- iterates over channels\n       * automatically gets 'channel'\n         * tegra_csi_channel_alloc()\n           * saves into chan->of_node a pointer to the channel OF node\n       * automatically gets and puts 'channel'\n       * now the node saved in chan->of_node has refcount 0, can disappear\n   * tegra_csi_channels_init\n     * iterates over channels\n       * tegra_csi_channel_init -- uses chan->of_node\n\nAfter that, chan->of_node keeps storing the node until the device is\nremoved.\n\nof_node_get() the node and of_node_put() it during teardown to avoid any\nrisk.","published":"2025-12-24T13:05:41.858Z","updated":"2026-10-28T02:30:54.677552952Z","reserved":"2025-12-24T13:02:21.543Z","status":"Deferred","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"1ebaeb09830f36c1111b72a95420814225bd761c","lessThan":"5451efb2ca30f3c42b9efb8327ce35b62870dbd3","status":"affected","versionType":"git"},{"version":"1ebaeb09830f36c1111b72a95420814225bd761c","lessThan":"ce50c612458091d926ccb05d7db11d9f93532db2","status":"affected","versionType":"git"},{"version":"1ebaeb09830f36c1111b72a95420814225bd761c","lessThan":"6512c9498fcb97e7c760e3ef86b2272f2c0f765f","status":"affected","versionType":"git"},{"version":"1ebaeb09830f36c1111b72a95420814225bd761c","lessThan":"0fd003d3c708c80350a815eaf37b8e1114b976cf","status":"affected","versionType":"git"},{"version":"1ebaeb09830f36c1111b72a95420814225bd761c","lessThan":"c4d344163c3a7f90712525f931a6c016bbb35e18","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.10","status":"affected"},{"version":"0","lessThan":"5.10","status":"unaffected","versionType":"semver"},{"version":"5.10.163","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.87","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.0.18","lessThanOrEqual":"6.0.*","status":"unaffected","versionType":"semver"},{"version":"6.1.4","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.2","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/5451efb2ca30f3c42b9efb8327ce35b62870dbd3","tags":["web"]},{"url":"https://git.kernel.org/stable/c/ce50c612458091d926ccb05d7db11d9f93532db2","tags":["web"]},{"url":"https://git.kernel.org/stable/c/6512c9498fcb97e7c760e3ef86b2272f2c0f765f","tags":["web"]},{"url":"https://git.kernel.org/stable/c/0fd003d3c708c80350a815eaf37b8e1114b976cf","tags":["web"]},{"url":"https://git.kernel.org/stable/c/c4d344163c3a7f90712525f931a6c016bbb35e18","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50745.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50745","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.0019,"epssPercentile":0.08799,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-50745","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50745","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-50745","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-50745","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}