All of lore.kernel.org
 help / color / mirror / Atom feed
* [syzbot] [fs?] BUG: unable to handle kernel NULL pointer dereference in read_cache_folio
@ 2024-09-26 14:51 syzbot
  2024-11-11  2:34 ` Gao Xiang
  0 siblings, 1 reply; 9+ messages in thread
From: syzbot @ 2024-09-26 14:51 UTC (permalink / raw)
  To: linux-fsdevel, linux-kernel, syzkaller-bugs

Hello,

syzbot found the following issue on:

HEAD commit:    88264981f208 Merge tag 'sched_ext-for-6.12' of git://git.k..
git tree:       upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=16084107980000
kernel config:  https://syzkaller.appspot.com/x/.config?x=ba9c4620d9519d1f
dashboard link: https://syzkaller.appspot.com/bug?extid=4089e577072948ac5531
compiler:       aarch64-linux-gnu-gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40
userspace arch: arm64
syz repro:      https://syzkaller.appspot.com/x/repro.syz?x=11084107980000
C reproducer:   https://syzkaller.appspot.com/x/repro.c?x=10a0d880580000

Downloadable assets:
disk image (non-bootable): https://storage.googleapis.com/syzbot-assets/384ffdcca292/non_bootable_disk-88264981.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/e96d7b6835d2/vmlinux-88264981.xz
kernel image: https://storage.googleapis.com/syzbot-assets/0e1e66778641/Image-88264981.gz.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+4089e577072948ac5531@syzkaller.appspotmail.com

Unable to handle kernel NULL pointer dereference at virtual address 0000000000000000
Mem abort info:
  ESR = 0x0000000086000006
  EC = 0x21: IABT (current EL), IL = 32 bits
  SET = 0, FnV = 0
  EA = 0, S1PTW = 0
  FSC = 0x06: level 2 translation fault
user pgtable: 4k pages, 52-bit VAs, pgdp=00000000462cce00
[0000000000000000] pgd=080000004468e003, p4d=08000000466cc003, pud=0800000046cd6003, pmd=0000000000000000
Internal error: Oops: 0000000086000006 [#1] PREEMPT SMP
Modules linked in:
CPU: 1 UID: 0 PID: 3265 Comm: syz-executor218 Tainted: G    B              6.11.0-syzkaller-08481-g88264981f208 #0
Tainted: [B]=BAD_PAGE
Hardware name: linux,dummy-virt (DT)
pstate: 61400809 (nZCv daif +PAN -UAO -TCO +DIT -SSBS BTYPE=-c)
pc : 0x0
lr : filemap_read_folio+0x44/0xf4 mm/filemap.c:2363
sp : ffff800088e6bac0
x29: ffff800088e6bac0 x28: f1f000000474e000 x27: 0000000020ffd000
x26: 0000000000000000 x25: 0000000000000000 x24: 0000000002100cca
x23: f6f0000006cd5c00 x22: 0000000000000000 x21: f6f0000006cd5c00
x20: 0000000000000000 x19: ffffc1ffc02e3300 x18: ffff800088e6bc20
x17: ffff8000804fee60 x16: ffff80008052fe10 x15: 0000000000000001
x14: 0000000000000000 x13: 0000000000000003 x12: 00000000000706a3
x11: 0000000000000001 x10: ffff800081f19060 x9 : 0000000000000000
x8 : fff07ffffd1f0000 x7 : fff000007f8e9d60 x6 : 0000000000000002
x5 : ffffc1ffc02e3300 x4 : 0000000000000000 x3 : faf0000005491240
x2 : 0000000000000000 x1 : ffffc1ffc02e3300 x0 : f6f0000006cd5c00
Call trace:
 0x0
 do_read_cache_folio+0x18c/0x29c mm/filemap.c:3821
 read_cache_folio+0x14/0x20 mm/filemap.c:3853
 freader_get_folio+0x1a8/0x1f8 lib/buildid.c:72
 freader_fetch+0x44/0x164 lib/buildid.c:115
 __build_id_parse.isra.0+0x98/0x2a8 lib/buildid.c:300
 build_id_parse+0x18/0x24 lib/buildid.c:354
 do_procmap_query+0x670/0x7a0 fs/proc/task_mmu.c:534
 procfs_procmap_ioctl+0x2c/0x44 fs/proc/task_mmu.c:613
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:907 [inline]
 __se_sys_ioctl fs/ioctl.c:893 [inline]
 __arm64_sys_ioctl+0xac/0xf0 fs/ioctl.c:893
 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline]
 invoke_syscall+0x48/0x110 arch/arm64/kernel/syscall.c:49
 el0_svc_common.constprop.0+0x40/0xe0 arch/arm64/kernel/syscall.c:132
 do_el0_svc+0x1c/0x28 arch/arm64/kernel/syscall.c:151
 el0_svc+0x34/0xec arch/arm64/kernel/entry-common.c:712
 el0t_64_sync_handler+0x100/0x12c arch/arm64/kernel/entry-common.c:730
 el0t_64_sync+0x19c/0x1a0 arch/arm64/kernel/entry.S:598
Code: ???????? ???????? ???????? ???????? (????????) 
---[ end trace 0000000000000000 ]---


---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzkaller@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

If the report is already addressed, let syzbot know by replying with:
#syz fix: exact-commit-title

If you want syzbot to run the reproducer, reply with:
#syz test: git://repo/address.git branch-or-commit-hash
If you attach or paste a git patch, syzbot will apply it before testing.

If you want to overwrite report's subsystems, reply with:
#syz set subsystems: new-subsystem
(See the list of subsystem names on the web dashboard)

If the report is a duplicate of another one, reply with:
#syz dup: exact-subject-of-another-report

If you want to undo deduplication, reply with:
#syz undup

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [syzbot] [fs?] BUG: unable to handle kernel NULL pointer dereference in read_cache_folio
       [not found] <8f9374ff-e660-4127-b192-ec9791068174@gmail.com>
@ 2024-09-29 22:59 ` syzbot
  0 siblings, 0 replies; 9+ messages in thread
From: syzbot @ 2024-09-29 22:59 UTC (permalink / raw)
  To: gianf.trad, linux-kernel, syzkaller-bugs

Hello,

syzbot has tested the proposed patch and the reproducer did not trigger any issue:

Reported-by: syzbot+4089e577072948ac5531@syzkaller.appspotmail.com
Tested-by: syzbot+4089e577072948ac5531@syzkaller.appspotmail.com

Tested on:

commit:         9852d85e Linux 6.12-rc1
git tree:       upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=14bbf507980000
kernel config:  https://syzkaller.appspot.com/x/.config?x=daa10535be443909
dashboard link: https://syzkaller.appspot.com/bug?extid=4089e577072948ac5531
compiler:       aarch64-linux-gnu-gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40
userspace arch: arm64
patch:          https://syzkaller.appspot.com/x/patch.diff?x=12d58ea9980000

Note: testing is done by a robot and is best-effort only.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [syzbot] [fs?] BUG: unable to handle kernel NULL pointer dereference in read_cache_folio
       [not found] <a41b0dee-23b9-4687-a0cf-7409e030774c@studenti.polito.it>
@ 2024-09-30  9:01 ` syzbot
  0 siblings, 0 replies; 9+ messages in thread
From: syzbot @ 2024-09-30  9:01 UTC (permalink / raw)
  To: linux-kernel, s323713, syzkaller-bugs

Hello,

syzbot has tested the proposed patch and the reproducer did not trigger any issue:

Reported-by: syzbot+4089e577072948ac5531@syzkaller.appspotmail.com
Tested-by: syzbot+4089e577072948ac5531@syzkaller.appspotmail.com

Tested on:

commit:         9852d85e Linux 6.12-rc1
git tree:       upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=13636980580000
kernel config:  https://syzkaller.appspot.com/x/.config?x=daa10535be443909
dashboard link: https://syzkaller.appspot.com/bug?extid=4089e577072948ac5531
compiler:       aarch64-linux-gnu-gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40
userspace arch: arm64
patch:          https://syzkaller.appspot.com/x/patch.diff?x=15674ea9980000

Note: testing is done by a robot and is best-effort only.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [syzbot] [fs?] BUG: unable to handle kernel NULL pointer dereference in read_cache_folio
       [not found] <7a6ebbbc-6d5a-4bb4-a00c-f05de54ee091@gmail.com>
@ 2024-10-12 23:57 ` syzbot
  0 siblings, 0 replies; 9+ messages in thread
From: syzbot @ 2024-10-12 23:57 UTC (permalink / raw)
  To: gianf.trad, linux-kernel, syzkaller-bugs

Hello,

syzbot has tested the proposed patch and the reproducer did not trigger any issue:

Reported-by: syzbot+4089e577072948ac5531@syzkaller.appspotmail.com
Tested-by: syzbot+4089e577072948ac5531@syzkaller.appspotmail.com

Tested on:

commit:         7234e2ea Merge tag 'scsi-fixes' of git://git.kernel.or..
git tree:       upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=13c70440580000
kernel config:  https://syzkaller.appspot.com/x/.config?x=cdc4dc68c55ee863
dashboard link: https://syzkaller.appspot.com/bug?extid=4089e577072948ac5531
compiler:       aarch64-linux-gnu-gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40
userspace arch: arm64
patch:          https://syzkaller.appspot.com/x/patch.diff?x=13ff3fd0580000

Note: testing is done by a robot and is best-effort only.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [syzbot] [fs?] BUG: unable to handle kernel NULL pointer dereference in read_cache_folio
       [not found] <457510ec-d103-4fe9-82bd-293e66f48be6@gmail.com>
@ 2024-10-14 21:15 ` syzbot
  0 siblings, 0 replies; 9+ messages in thread
From: syzbot @ 2024-10-14 21:15 UTC (permalink / raw)
  To: gianf.trad, linux-kernel, syzkaller-bugs

Hello,

syzbot tried to test the proposed patch but the build/boot failed:

kernel clean failed: failed to run ["make" "-j" "0" "ARCH=arm64" "CROSS_COMPILE=aarch64-linux-gnu-" "distclean"]: exit status 2
make: the '-j' option requires a positive integer argument
Usage: make [options] [target] ...
Options:
  -b, -m                      Ignored for compatibility.
  -B, --always-make           Unconditionally make all targets.
  -C DIRECTORY, --directory=DIRECTORY
                              Change to DIRECTORY before doing anything.
  -d                          Print lots of debugging information.
  --debug[=FLAGS]             Print various types of debugging information.
  -e, --environment-overrides
                              Environment variables override makefiles.
  -E STRING, --eval=STRING    Evaluate STRING as a makefile statement.
  -f FILE, --file=FILE, --makefile=FILE
                              Read FILE as a makefile.
  -h, --help                  Print this message and exit.
  -i, --ignore-errors         Ignore errors from recipes.
  -I DIRECTORY, --include-dir=DIRECTORY
                              Search DIRECTORY for included makefiles.
  -j [N], --jobs[=N]          Allow N jobs at once; infinite jobs with no arg.
  -k, --keep-going            Keep going when some targets can't be made.
  -l [N], --load-average[=N], --max-load[=N]
                              Don't start multiple jobs unless load is below N.
  -L, --check-symlink-times   Use the latest mtime between symlinks and target.
  -n, --just-print, --dry-run, --recon
                              Don't actually run any recipe; just print them.
  -o FILE, --old-file=FILE, --assume-old=FILE
                              Consider FILE to be very old and don't remake it.
  -O[TYPE], --output-sync[=TYPE]
                              Synchronize output of parallel jobs by TYPE.
  -p, --print-data-base       Print make's internal database.
  -q, --question              Run no recipe; exit status says if up to date.
  -r, --no-builtin-rules      Disable the built-in implicit rules.
  -R, --no-builtin-variables  Disable the built-in variable settings.
  -s, --silent, --quiet       Don't echo recipes.
  --no-silent                 Echo recipes (disable --silent mode).
  -S, --no-keep-going, --stop
                              Turns off -k.
  -t, --touch                 Touch targets instead of remaking them.
  --trace                     Print tracing information.
  -v, --version               Print the version number of make and exit.
  -w, --print-directory       Print the current directory.
  --no-print-directory        Turn off -w, even if it was turned on implicitly.
  -W FILE, --what-if=FILE, --new-file=FILE, --assume-new=FILE
                              Consider FILE to be infinitely new.
  --warn-undefined-variables  Warn when an undefined variable is referenced.

This program built for x86_64-pc-linux-gnu
Report bugs to <bug-make@gnu.org>



Tested on:

commit:         eca631b8 Merge tag 'f2fs-6.12-rc4' of git://git.kernel..
git tree:       upstream
kernel config:  https://syzkaller.appspot.com/x/.config?x=ba9c4620d9519d1f
dashboard link: https://syzkaller.appspot.com/bug?extid=4089e577072948ac5531
compiler:       
userspace arch: arm64
patch:          https://syzkaller.appspot.com/x/patch.diff?x=10db8030580000


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [syzbot] [fs?] BUG: unable to handle kernel NULL pointer dereference in read_cache_folio
       [not found] <ef6bdc0e-6de5-4be8-9b4d-8953d954f418@studenti.polito.it>
@ 2024-10-14 21:23 ` syzbot
  0 siblings, 0 replies; 9+ messages in thread
From: syzbot @ 2024-10-14 21:23 UTC (permalink / raw)
  To: linux-kernel, s323713, syzkaller-bugs

Hello,

syzbot tried to test the proposed patch but the build/boot failed:

kernel clean failed: failed to run ["make" "-j" "0" "ARCH=arm64" "CROSS_COMPILE=aarch64-linux-gnu-" "distclean"]: exit status 2
make: the '-j' option requires a positive integer argument
Usage: make [options] [target] ...
Options:
  -b, -m                      Ignored for compatibility.
  -B, --always-make           Unconditionally make all targets.
  -C DIRECTORY, --directory=DIRECTORY
                              Change to DIRECTORY before doing anything.
  -d                          Print lots of debugging information.
  --debug[=FLAGS]             Print various types of debugging information.
  -e, --environment-overrides
                              Environment variables override makefiles.
  -E STRING, --eval=STRING    Evaluate STRING as a makefile statement.
  -f FILE, --file=FILE, --makefile=FILE
                              Read FILE as a makefile.
  -h, --help                  Print this message and exit.
  -i, --ignore-errors         Ignore errors from recipes.
  -I DIRECTORY, --include-dir=DIRECTORY
                              Search DIRECTORY for included makefiles.
  -j [N], --jobs[=N]          Allow N jobs at once; infinite jobs with no arg.
  -k, --keep-going            Keep going when some targets can't be made.
  -l [N], --load-average[=N], --max-load[=N]
                              Don't start multiple jobs unless load is below N.
  -L, --check-symlink-times   Use the latest mtime between symlinks and target.
  -n, --just-print, --dry-run, --recon
                              Don't actually run any recipe; just print them.
  -o FILE, --old-file=FILE, --assume-old=FILE
                              Consider FILE to be very old and don't remake it.
  -O[TYPE], --output-sync[=TYPE]
                              Synchronize output of parallel jobs by TYPE.
  -p, --print-data-base       Print make's internal database.
  -q, --question              Run no recipe; exit status says if up to date.
  -r, --no-builtin-rules      Disable the built-in implicit rules.
  -R, --no-builtin-variables  Disable the built-in variable settings.
  -s, --silent, --quiet       Don't echo recipes.
  --no-silent                 Echo recipes (disable --silent mode).
  -S, --no-keep-going, --stop
                              Turns off -k.
  -t, --touch                 Touch targets instead of remaking them.
  --trace                     Print tracing information.
  -v, --version               Print the version number of make and exit.
  -w, --print-directory       Print the current directory.
  --no-print-directory        Turn off -w, even if it was turned on implicitly.
  -W FILE, --what-if=FILE, --new-file=FILE, --assume-new=FILE
                              Consider FILE to be infinitely new.
  --warn-undefined-variables  Warn when an undefined variable is referenced.

This program built for x86_64-pc-linux-gnu
Report bugs to <bug-make@gnu.org>



Tested on:

commit:         eca631b8 Merge tag 'f2fs-6.12-rc4' of git://git.kernel..
git tree:       upstream
kernel config:  https://syzkaller.appspot.com/x/.config?x=ba9c4620d9519d1f
dashboard link: https://syzkaller.appspot.com/bug?extid=4089e577072948ac5531
compiler:       
userspace arch: arm64
patch:          https://syzkaller.appspot.com/x/patch.diff?x=14078030580000


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [syzbot] [fs?] BUG: unable to handle kernel NULL pointer dereference in read_cache_folio
       [not found] <d07fdb85-e867-4296-8582-d3ccb8c46a6a@gmail.com>
@ 2024-10-14 22:26 ` syzbot
  0 siblings, 0 replies; 9+ messages in thread
From: syzbot @ 2024-10-14 22:26 UTC (permalink / raw)
  To: gianf.trad, linux-kernel, syzkaller-bugs

Hello,

syzbot tried to test the proposed patch but the build/boot failed:

kernel clean failed: failed to run ["make" "-j" "0" "ARCH=arm64" "CROSS_COMPILE=aarch64-linux-gnu-" "distclean"]: exit status 2
make: the '-j' option requires a positive integer argument
Usage: make [options] [target] ...
Options:
  -b, -m                      Ignored for compatibility.
  -B, --always-make           Unconditionally make all targets.
  -C DIRECTORY, --directory=DIRECTORY
                              Change to DIRECTORY before doing anything.
  -d                          Print lots of debugging information.
  --debug[=FLAGS]             Print various types of debugging information.
  -e, --environment-overrides
                              Environment variables override makefiles.
  -E STRING, --eval=STRING    Evaluate STRING as a makefile statement.
  -f FILE, --file=FILE, --makefile=FILE
                              Read FILE as a makefile.
  -h, --help                  Print this message and exit.
  -i, --ignore-errors         Ignore errors from recipes.
  -I DIRECTORY, --include-dir=DIRECTORY
                              Search DIRECTORY for included makefiles.
  -j [N], --jobs[=N]          Allow N jobs at once; infinite jobs with no arg.
  -k, --keep-going            Keep going when some targets can't be made.
  -l [N], --load-average[=N], --max-load[=N]
                              Don't start multiple jobs unless load is below N.
  -L, --check-symlink-times   Use the latest mtime between symlinks and target.
  -n, --just-print, --dry-run, --recon
                              Don't actually run any recipe; just print them.
  -o FILE, --old-file=FILE, --assume-old=FILE
                              Consider FILE to be very old and don't remake it.
  -O[TYPE], --output-sync[=TYPE]
                              Synchronize output of parallel jobs by TYPE.
  -p, --print-data-base       Print make's internal database.
  -q, --question              Run no recipe; exit status says if up to date.
  -r, --no-builtin-rules      Disable the built-in implicit rules.
  -R, --no-builtin-variables  Disable the built-in variable settings.
  -s, --silent, --quiet       Don't echo recipes.
  --no-silent                 Echo recipes (disable --silent mode).
  -S, --no-keep-going, --stop
                              Turns off -k.
  -t, --touch                 Touch targets instead of remaking them.
  --trace                     Print tracing information.
  -v, --version               Print the version number of make and exit.
  -w, --print-directory       Print the current directory.
  --no-print-directory        Turn off -w, even if it was turned on implicitly.
  -W FILE, --what-if=FILE, --new-file=FILE, --assume-new=FILE
                              Consider FILE to be infinitely new.
  --warn-undefined-variables  Warn when an undefined variable is referenced.

This program built for x86_64-pc-linux-gnu
Report bugs to <bug-make@gnu.org>



Tested on:

commit:         eca631b8 Merge tag 'f2fs-6.12-rc4' of git://git.kernel..
git tree:       upstream
kernel config:  https://syzkaller.appspot.com/x/.config?x=ba9c4620d9519d1f
dashboard link: https://syzkaller.appspot.com/bug?extid=4089e577072948ac5531
compiler:       
userspace arch: arm64
patch:          https://syzkaller.appspot.com/x/patch.diff?x=148fb85f980000


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [syzbot] [fs?] BUG: unable to handle kernel NULL pointer dereference in read_cache_folio
       [not found] <fe328157-01ab-4e51-95d5-957a1cc6362d@gmail.com>
@ 2024-10-15 11:31 ` syzbot
  0 siblings, 0 replies; 9+ messages in thread
From: syzbot @ 2024-10-15 11:31 UTC (permalink / raw)
  To: gianf.trad, linux-kernel, syzkaller-bugs

Hello,

syzbot has tested the proposed patch and the reproducer did not trigger any issue:

Reported-by: syzbot+4089e577072948ac5531@syzkaller.appspotmail.com
Tested-by: syzbot+4089e577072948ac5531@syzkaller.appspotmail.com

Tested on:

commit:         eca631b8 Merge tag 'f2fs-6.12-rc4' of git://git.kernel..
git tree:       upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=1551045f980000
kernel config:  https://syzkaller.appspot.com/x/.config?x=15af561474a22223
dashboard link: https://syzkaller.appspot.com/bug?extid=4089e577072948ac5531
compiler:       aarch64-linux-gnu-gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40
userspace arch: arm64
patch:          https://syzkaller.appspot.com/x/patch.diff?x=142e045f980000

Note: testing is done by a robot and is best-effort only.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [syzbot] [fs?] BUG: unable to handle kernel NULL pointer dereference in read_cache_folio
  2024-09-26 14:51 syzbot
@ 2024-11-11  2:34 ` Gao Xiang
  0 siblings, 0 replies; 9+ messages in thread
From: Gao Xiang @ 2024-11-11  2:34 UTC (permalink / raw)
  To: syzbot, linux-fsdevel, linux-kernel, syzkaller-bugs



On 2024/9/26 22:51, syzbot wrote:
> Hello,
> 
> syzbot found the following issue on:
> 
> HEAD commit:    88264981f208 Merge tag 'sched_ext-for-6.12' of git://git.k..
> git tree:       upstream
> console output: https://syzkaller.appspot.com/x/log.txt?x=16084107980000
> kernel config:  https://syzkaller.appspot.com/x/.config?x=ba9c4620d9519d1f
> dashboard link: https://syzkaller.appspot.com/bug?extid=4089e577072948ac5531
> compiler:       aarch64-linux-gnu-gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40
> userspace arch: arm64
> syz repro:      https://syzkaller.appspot.com/x/repro.syz?x=11084107980000
> C reproducer:   https://syzkaller.appspot.com/x/repro.c?x=10a0d880580000
> 
> Downloadable assets:
> disk image (non-bootable): https://storage.googleapis.com/syzbot-assets/384ffdcca292/non_bootable_disk-88264981.raw.xz
> vmlinux: https://storage.googleapis.com/syzbot-assets/e96d7b6835d2/vmlinux-88264981.xz
> kernel image: https://storage.googleapis.com/syzbot-assets/0e1e66778641/Image-88264981.gz.xz
> 
> IMPORTANT: if you fix the issue, please add the following tag to the commit:
> Reported-by: syzbot+4089e577072948ac5531@syzkaller.appspotmail.com
> 
> Unable to handle kernel NULL pointer dereference at virtual address 0000000000000000
> Mem abort info:
>    ESR = 0x0000000086000006
>    EC = 0x21: IABT (current EL), IL = 32 bits
>    SET = 0, FnV = 0
>    EA = 0, S1PTW = 0
>    FSC = 0x06: level 2 translation fault
> user pgtable: 4k pages, 52-bit VAs, pgdp=00000000462cce00
> [0000000000000000] pgd=080000004468e003, p4d=08000000466cc003, pud=0800000046cd6003, pmd=0000000000000000
> Internal error: Oops: 0000000086000006 [#1] PREEMPT SMP
> Modules linked in:
> CPU: 1 UID: 0 PID: 3265 Comm: syz-executor218 Tainted: G    B              6.11.0-syzkaller-08481-g88264981f208 #0
> Tainted: [B]=BAD_PAGE
> Hardware name: linux,dummy-virt (DT)
> pstate: 61400809 (nZCv daif +PAN -UAO -TCO +DIT -SSBS BTYPE=-c)
> pc : 0x0
> lr : filemap_read_folio+0x44/0xf4 mm/filemap.c:2363
> sp : ffff800088e6bac0
> x29: ffff800088e6bac0 x28: f1f000000474e000 x27: 0000000020ffd000
> x26: 0000000000000000 x25: 0000000000000000 x24: 0000000002100cca
> x23: f6f0000006cd5c00 x22: 0000000000000000 x21: f6f0000006cd5c00
> x20: 0000000000000000 x19: ffffc1ffc02e3300 x18: ffff800088e6bc20
> x17: ffff8000804fee60 x16: ffff80008052fe10 x15: 0000000000000001
> x14: 0000000000000000 x13: 0000000000000003 x12: 00000000000706a3
> x11: 0000000000000001 x10: ffff800081f19060 x9 : 0000000000000000
> x8 : fff07ffffd1f0000 x7 : fff000007f8e9d60 x6 : 0000000000000002
> x5 : ffffc1ffc02e3300 x4 : 0000000000000000 x3 : faf0000005491240
> x2 : 0000000000000000 x1 : ffffc1ffc02e3300 x0 : f6f0000006cd5c00
> Call trace:
>   0x0
>   do_read_cache_folio+0x18c/0x29c mm/filemap.c:3821
>   read_cache_folio+0x14/0x20 mm/filemap.c:3853
>   freader_get_folio+0x1a8/0x1f8 lib/buildid.c:72
>   freader_fetch+0x44/0x164 lib/buildid.c:115
>   __build_id_parse.isra.0+0x98/0x2a8 lib/buildid.c:300
>   build_id_parse+0x18/0x24 lib/buildid.c:354
>   do_procmap_query+0x670/0x7a0 fs/proc/task_mmu.c:534
>   procfs_procmap_ioctl+0x2c/0x44 fs/proc/task_mmu.c:613
>   vfs_ioctl fs/ioctl.c:51 [inline]
>   __do_sys_ioctl fs/ioctl.c:907 [inline]
>   __se_sys_ioctl fs/ioctl.c:893 [inline]
>   __arm64_sys_ioctl+0xac/0xf0 fs/ioctl.c:893
>   __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline]
>   invoke_syscall+0x48/0x110 arch/arm64/kernel/syscall.c:49
>   el0_svc_common.constprop.0+0x40/0xe0 arch/arm64/kernel/syscall.c:132
>   do_el0_svc+0x1c/0x28 arch/arm64/kernel/syscall.c:151
>   el0_svc+0x34/0xec arch/arm64/kernel/entry-common.c:712
>   el0t_64_sync_handler+0x100/0x12c arch/arm64/kernel/entry-common.c:730
>   el0t_64_sync+0x19c/0x1a0 arch/arm64/kernel/entry.S:598
> Code: ???????? ???????? ???????? ???????? (????????)
> ---[ end trace 0000000000000000 ]---
> 

Sorry, I don't think the syz subsystems is correct
for this report (it seems related to procfs), so

#syz set subsystems: fs

Thanks,
Gao Xiang

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2024-11-11  2:35 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <ef6bdc0e-6de5-4be8-9b4d-8953d954f418@studenti.polito.it>
2024-10-14 21:23 ` [syzbot] [fs?] BUG: unable to handle kernel NULL pointer dereference in read_cache_folio syzbot
     [not found] <fe328157-01ab-4e51-95d5-957a1cc6362d@gmail.com>
2024-10-15 11:31 ` syzbot
     [not found] <d07fdb85-e867-4296-8582-d3ccb8c46a6a@gmail.com>
2024-10-14 22:26 ` syzbot
     [not found] <457510ec-d103-4fe9-82bd-293e66f48be6@gmail.com>
2024-10-14 21:15 ` syzbot
     [not found] <7a6ebbbc-6d5a-4bb4-a00c-f05de54ee091@gmail.com>
2024-10-12 23:57 ` syzbot
     [not found] <a41b0dee-23b9-4687-a0cf-7409e030774c@studenti.polito.it>
2024-09-30  9:01 ` syzbot
     [not found] <8f9374ff-e660-4127-b192-ec9791068174@gmail.com>
2024-09-29 22:59 ` syzbot
2024-09-26 14:51 syzbot
2024-11-11  2:34 ` Gao Xiang

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.