{"id":"CVE-2021-47353","aliases":["CVE-2021-47353"],"related":[],"kind":"vulnerability","state":"published","title":"udf: Fix NULL pointer dereference in udf_symlink function","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nudf: Fix NULL pointer dereference in udf_symlink function\n\nIn function udf_symlink, epos.bh is assigned with the value returned\nby udf_tgetblk. The function udf_tgetblk is defined in udf/misc.c\nand returns the value of sb_getblk function that could be NULL.\nThen, epos.bh is used without any check, causing a possible\nNULL pointer dereference when sb_getblk fails.\n\nThis fix adds a check to validate the value of epos.bh.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nudf: Fix NULL pointer dereference in udf_symlink function\n\nIn function udf_symlink, epos.bh is assigned with the value returned\nby udf_tgetblk. The function udf_tgetblk is defined in udf/misc.c\nand returns the value of sb_getblk function that could be NULL.\nThen, epos.bh is used without any check, causing a possible\nNULL pointer dereference when sb_getblk fails.\n\nThis fix adds a check to validate the value of epos.bh.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: udf: Se corrigió la desreferencia del puntero NULL en la función udf_symlink. En la función udf_symlink, a epos.bh se le asigna el valor devuelto por udf_tgetblk. La función udf_tgetblk está definida en udf/misc.c y devuelve el valor de la función sb_getblk que podría ser NULL. Luego, epos.bh se usa sin ninguna verificación, lo que provoca una posible desreferencia del puntero NULL cuando falla sb_getblk. Esta solución agrega una verificación para validar el valor de epos.bh.","source":"nvd"}],"published":"2024-05-21T14:35:57.122Z","modified":"2026-06-17T04:17:16.323Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-476"],"affected":[{"ranges":[{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"2f3d9ddd32a28803baa547e6274983b67d5e287c","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"371566f63cbd0bb6fbb25b8fe9d5798268d35af9","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"baea588a42d675e35daeaddd10fbc9700550bc4d","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"3638705ecd5ad2785e996f820121c0ad15ce64b5","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"80d505aee6398cf8beb72475c7edcf1733c1c68b","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"21bf1414580c36ffc8d8de043beb3508cf812238","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"aebed6b19e51a34003d998da5ebb1dfdd2cb1d02","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"5150877e4d99f85057a458daac7cd7c01005d5c6","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"fa236c2b2d4436d9f19ee4e5d5924e90ffd7bb43","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.12","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.12","status":"unaffected"},{"type":"semver","introduced":"4.4.276","lastAffected":"4.4.*","status":"unaffected"},{"type":"semver","introduced":"4.9.276","lastAffected":"4.9.*","status":"unaffected"},{"type":"semver","introduced":"4.14.240","lastAffected":"4.14.*","status":"unaffected"},{"type":"semver","introduced":"4.19.198","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.133","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.51","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.12.18","lastAffected":"5.12.*","status":"unaffected"},{"type":"semver","introduced":"5.13.3","lastAffected":"5.13.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"5.14","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"4.4.276"},{"status":"affected","introduced":"4.5","fixed":"4.9.276"},{"status":"affected","introduced":"4.10","fixed":"4.14.240"},{"status":"affected","introduced":"4.15","fixed":"4.19.198"},{"status":"affected","introduced":"4.20","fixed":"5.4.133"},{"status":"affected","introduced":"5.5","fixed":"5.10.51"},{"status":"affected","introduced":"5.11","fixed":"5.12.18"},{"status":"affected","introduced":"5.13","fixed":"5.13.3"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/2f3d9ddd32a28803baa547e6274983b67d5e287c","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/371566f63cbd0bb6fbb25b8fe9d5798268d35af9","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/baea588a42d675e35daeaddd10fbc9700550bc4d","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3638705ecd5ad2785e996f820121c0ad15ce64b5","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/80d505aee6398cf8beb72475c7edcf1733c1c68b","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/21bf1414580c36ffc8d8de043beb3508cf812238","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/aebed6b19e51a34003d998da5ebb1dfdd2cb1d02","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5150877e4d99f85057a458daac7cd7c01005d5c6","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/fa236c2b2d4436d9f19ee4e5d5924e90ffd7bb43","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-05-23T19:03:03.353Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-47353","url":"https://www.cve.org/CVERecord?id=CVE-2021-47353","licence":"CVE Terms of Use","modified":"2026-05-11T13:53:03.838Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-47353","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-47353","licence":"Public domain","modified":"2026-06-17T04:17:16.323Z"}],"updatedAt":"2026-11-25T22:58:08.812Z","epss":{"score":0.00309,"percentile":0.25621,"date":"2026-12-01T12:00:22.000Z"}}