mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Theodore Ts'o" <tytso@mit.edu>
To: Karina Yankevich <k.yankevich@omp.ru>
Cc: "Theodore Ts'o" <tytso@mit.edu>,
	Andreas Dilger <adilger.kernel@dilger.ca>,
	Bhupesh <bhupesh@igalia.com>,
	linux-ext4@vger.kernel.org, linux-kernel@vger.kernel.org,
	lvc-patches@linuxtesting.org, Sergey Shtylyov <s.shtylyov@omp.ru>
Subject: Re: [PATCH] ext4: xattr: fix null pointer deref in ext4_raw_inode()
Date: Mon, 17 Nov 2025 14:13:33 -0500	[thread overview]
Message-ID: <176340680641.138575.14674529109795333702.b4-ty@mit.edu> (raw)
In-Reply-To: <20251022093253.3546296-1-k.yankevich@omp.ru>


On Wed, 22 Oct 2025 12:32:53 +0300, Karina Yankevich wrote:
> If ext4_get_inode_loc() fails (e.g. if it returns -EFSCORRUPTED),
> iloc.bh will remain set to NULL. Since ext4_xattr_inode_dec_ref_all()
> lacks error checking, this will lead to a null pointer dereference
> in ext4_raw_inode(), called right after ext4_get_inode_loc().
> 
> Found by Linux Verification Center (linuxtesting.org) with SVACE.
> 
> [...]

Applied, thanks!

[1/1] ext4: xattr: fix null pointer deref in ext4_raw_inode()
      commit: b97cb7d6a051aa6ebd57906df0e26e9e36c26d14

Best regards,
-- 
Theodore Ts'o <tytso@mit.edu>

      parent reply	other threads:[~2025-11-17 19:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-10-22  9:32 Karina Yankevich
2025-11-05 17:18 ` Markus Elfring
2025-11-08  3:12 ` Baokun Li
2025-11-17 19:13 ` Theodore Ts'o [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=176340680641.138575.14674529109795333702.b4-ty@mit.edu \
    --to=tytso@mit.edu \
    --cc=adilger.kernel@dilger.ca \
    --cc=bhupesh@igalia.com \
    --cc=k.yankevich@omp.ru \
    --cc=linux-ext4@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lvc-patches@linuxtesting.org \
    --cc=s.shtylyov@omp.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®