In the Linux kernel, the following vulnerability has been resolved:
i2c: dev: check return value when calling devsetname()
If devsetname() fails, the devname() is null, check the return value of devset_name() to avoid the null-ptr-deref.
{ "vanir_signatures": [ { "digest": { "threshold": 0.9, "line_hashes": [ "185548663229600998534778084380984561990", "49370947078224723660113542244208998745", "95795975531241458148710051795916191262", "184093068335468685431722347981954146173", "114672541813268910163395247188209118385", "325143219512596535856866076516635185881", "45032096754048778618870245012994631954", "196529550102500834115947321049111920091", "189641871413517890386906142872785870750", "160391265134571172358415249283163481614", "286810693373844822385416342860991342667" ] }, "signature_version": "v1", "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c74d77a2d07744147d734138acd6ce9dba715e5d", "target": { "file": "drivers/i2c/i2c-dev.c" }, "id": "CVE-2022-49046-24cff16c", "signature_type": "Line" }, { "digest": { "threshold": 0.9, "line_hashes": [ "185548663229600998534778084380984561990", "49370947078224723660113542244208998745", "95795975531241458148710051795916191262", "184093068335468685431722347981954146173", "114672541813268910163395247188209118385", "325143219512596535856866076516635185881", "45032096754048778618870245012994631954", "196529550102500834115947321049111920091", "189641871413517890386906142872785870750", "160391265134571172358415249283163481614", "286810693373844822385416342860991342667" ] }, "signature_version": "v1", "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@993eb48fa199b5f476df8204e652eff63dd19361", "target": { "file": "drivers/i2c/i2c-dev.c" }, "id": "CVE-2022-49046-4017a7fa", "signature_type": "Line" }, { "digest": { "length": 803.0, "function_hash": "324712625806958140796689567395869630814" }, "signature_version": "v1", "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@993eb48fa199b5f476df8204e652eff63dd19361", "target": { "file": "drivers/i2c/i2c-dev.c", "function": "i2cdev_attach_adapter" }, "id": "CVE-2022-49046-5b0115cc", "signature_type": "Function" }, { "digest": { "length": 803.0, "function_hash": "324712625806958140796689567395869630814" }, "signature_version": "v1", "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c74d77a2d07744147d734138acd6ce9dba715e5d", "target": { "file": "drivers/i2c/i2c-dev.c", "function": "i2cdev_attach_adapter" }, "id": "CVE-2022-49046-8aad0d2a", "signature_type": "Function" }, { "digest": { "length": 812.0, "function_hash": "12324781704394975413606456834412933516" }, "signature_version": "v1", "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2e539b17d4cbe5fb8b5152dd9a6e4a8828f97db2", "target": { "file": "drivers/i2c/i2c-dev.c", "function": "i2cdev_attach_adapter" }, "id": "CVE-2022-49046-97751386", "signature_type": "Function" }, { "digest": { "threshold": 0.9, "line_hashes": [ "185548663229600998534778084380984561990", "49370947078224723660113542244208998745", "95795975531241458148710051795916191262", "184093068335468685431722347981954146173", "114672541813268910163395247188209118385", "325143219512596535856866076516635185881", "45032096754048778618870245012994631954", "196529550102500834115947321049111920091", "189641871413517890386906142872785870750", "160391265134571172358415249283163481614", "286810693373844822385416342860991342667" ] }, "signature_version": "v1", "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2f345bb14ad4744950499ff222e2899209297afa", "target": { "file": "drivers/i2c/i2c-dev.c" }, "id": "CVE-2022-49046-a48da888", "signature_type": "Line" }, { "digest": { "threshold": 0.9, "line_hashes": [ "185548663229600998534778084380984561990", "49370947078224723660113542244208998745", "95795975531241458148710051795916191262", "184093068335468685431722347981954146173", "114672541813268910163395247188209118385", "325143219512596535856866076516635185881", "89186537861674044440101364852807152978", "296954507570207384168933142318367957484", "259079113849127592581032921224269220937", "201538742499389911030385232795226074420", "250731973205634735246643794387859074777", "286810693373844822385416342860991342667" ] }, "signature_version": "v1", "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2e539b17d4cbe5fb8b5152dd9a6e4a8828f97db2", "target": { "file": "drivers/i2c/i2c-dev.c" }, "id": "CVE-2022-49046-b56864d4", "signature_type": "Line" }, { "digest": { "length": 803.0, "function_hash": "324712625806958140796689567395869630814" }, "signature_version": "v1", "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2f345bb14ad4744950499ff222e2899209297afa", "target": { "file": "drivers/i2c/i2c-dev.c", "function": "i2cdev_attach_adapter" }, "id": "CVE-2022-49046-b5aeb341", "signature_type": "Function" } ] }