Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Feb 2021 05:15:57 +0000
From:      bugzilla-noreply@freebsd.org
To:        fs@FreeBSD.org
Subject:   [Bug 253158] Panic: snapacct_ufs2: bad block - Non-suJ mksnap_ffs(8) crash
Message-ID:  <bug-253158-3630-h5Hz8pABvG@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-253158-3630@https.bugs.freebsd.org/bugzilla/>
References:  <bug-253158-3630@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D253158

--- Comment #49 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=3Dc61fae1475f1864dc4bba667b642f279a=
fd44855

commit c61fae1475f1864dc4bba667b642f279afd44855
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2021-02-15 03:34:06 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2021-02-16 05:09:37 +0000

    pgcache read: protect against reads past end of the vm object size

    If uio_offset is past end of the object size, calculated resid is negat=
ive.
    Delegate handling this case to the locked read, as any other non-trivial
    situation.

    PR:     253158
    Reported by:    Harald Schmalzbauer <bugzilla.freebsd@omnilan.de>
    Tested by:      cy
    Sponsored by:   The FreeBSD Foundation
    MFC after:      1 week

 sys/kern/vfs_vnops.c | 4 ++++
 1 file changed, 4 insertions(+)

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-253158-3630-h5Hz8pABvG>