ocfs2-devel.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* [Ocfs2-devel] Kernel 6.1 - ocfs2 NULL pointer exception
@ 2023-02-22 13:18 e-m via Ocfs2-devel
  0 siblings, 0 replies; only message in thread
From: e-m via Ocfs2-devel @ 2023-02-22 13:18 UTC (permalink / raw)
  To: ocfs2-devel

Hi,

I am trying to use ocfs2 on my machine.
ArchLinux Kernel 6.1.22-arch1-1

However, when I try to create a file (e.g. "touch") on the mounted FS, I 
get a BUG with a PF:
BUG: kernel NULL pointer dereference, address: 0000000000000000

It seems that the strlen() in ocfs2_calc_xattr_init() is the problem 
because si->name is NULL.
When I modify the code so that strlen() is not called when si->name is 
NULL, it  BUGs out at another position in ocfs2_xattr_set_handle() 
(strlen() again).
It seems like the whole ocfs2 kernel code has this problem mit strlen()?

Can I provide you with any additional information?

Thanks and best regards,
Etienne

_______________________________________________
Ocfs2-devel mailing list
Ocfs2-devel@oss.oracle.com
https://oss.oracle.com/mailman/listinfo/ocfs2-devel

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-03-22 17:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-22 13:18 [Ocfs2-devel] Kernel 6.1 - ocfs2 NULL pointer exception e-m via Ocfs2-devel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).