From: David Howells <dhowells@redhat.com>
To: Shyam Prasad N <nspmangalore@gmail.com>
Cc: dhowells@redhat.com, ronnie sahlberg <ronniesahlberg@gmail.com>,
Steve French <smfrench@gmail.com>,
CIFS <linux-cifs@vger.kernel.org>
Subject: Re: null-ptr deref found in netfs code
Date: Sat, 25 Jan 2025 19:13:19 +0000 [thread overview]
Message-ID: <2727967.1737832399@warthog.procyon.org.uk> (raw)
In-Reply-To: <CANT5p=pgD_jM6y1VRUHZRRfSkQWm3juW3oLOVpqFMzW1hMOgOQ@mail.gmail.com>
Shyam Prasad N <nspmangalore@gmail.com> wrote:
> >> netfs: R=00005a08[a] s=2600000-29fffff ctl=200000/400000/400000 sl=5
> But based on the OOPS that I attached in my last email, slot number is
> 5, which explains why folio at that slot is NULL.
>
> I don't understand the donation logic well enough to understand why
> slot could have overflowed like this. Maybe you can?
Can you get a trace with the following tracepoints turned on:
netfs_read
netfs_rreq
netfs_sreq
netfs_donate
Thanks,
David
next prev parent reply other threads:[~2025-01-25 19:13 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-02 2:16 null-ptr deref found in netfs code Shyam Prasad N
2024-12-02 8:03 ` Shyam Prasad N
2024-12-02 17:10 ` David Howells
2024-12-02 23:11 ` David Howells
2024-12-03 5:33 ` Shyam Prasad N
2024-12-03 11:14 ` David Howells
2024-12-04 16:30 ` Shyam Prasad N
2024-12-04 16:31 ` Shyam Prasad N
2024-12-04 16:52 ` David Howells
2024-12-04 20:46 ` David Howells
2024-12-04 20:50 ` ronnie sahlberg
2024-12-05 4:47 ` Shyam Prasad N
2024-12-05 10:49 ` Shyam Prasad N
2025-01-23 15:47 ` Shyam Prasad N
2025-01-23 16:31 ` David Howells
2025-01-23 16:34 ` David Howells
2025-01-25 17:12 ` Shyam Prasad N
2025-01-25 19:13 ` David Howells [this message]
2024-12-03 16:14 ` [PATCH] netfs: Fix non-contiguous donation between completed reads David Howells
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=2727967.1737832399@warthog.procyon.org.uk \
--to=dhowells@redhat.com \
--cc=linux-cifs@vger.kernel.org \
--cc=nspmangalore@gmail.com \
--cc=ronniesahlberg@gmail.com \
--cc=smfrench@gmail.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.