Skip to contentSkip to conversation

New: Error-valued pointer dereferences

Bug 34362 [email protected] 1 participant 4 messages May 4, 2011 – Mar 23, 2016

lore
Share & tools
lore
#0 lore raw

https://bugzilla.kernel.org/show_bug.cgi?id=34362

Summary: Error-valued pointer dereferences
Product: File System
Version: 2.5
Kernel Version: 2.6.38.3
Platform: All
OS/Version: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: ReiserFS
AssignedTo: [email protected]
ReportedBy: [email protected]
Regression: No

Created an attachment (id=56552)
--> (https://bugzilla.kernel.org/attachment.cgi?id=56552)
Sample traces describing error-valued pointer dereferences

We have statically analyzed ReiserFS, VFS and the memory management module to find error-valued pointers that are dereferenced. We have found five potential error-valued pointer dereferences:

fs/inode.c:1436: Dereferencing variable iput#inode, which may contain one of the following error codes: ENOMEM*

fs/reiserfs/super.c:249: Dereferencing variable finish_unfinished#inode, which may contain one of the following error codes: ENOMEM*

fs/reiserfs/super.c:259: Dereferencing variable finish_unfinished#inode, which may contain one of the following error codes: ENOMEM*

fs/reiserfs/super.c:279: Dereferencing variable finish_unfinished#inode, which may contain one of the following error codes: ENOMEM*

fs/super.c:205: Dereferencing variable deactivate_super#s, which may contain one of the following error codes: ENOMEM*

For each potential error-valued pointer dereference, our tool produces a complete sample trace and the corresponding slice. The complete sample trace illustrates how one error code may reach the program point at which the variable is dereferenced. The slice summarizes the complete sample trace by including only relevant program points at which the error code is transferred from variable to variable or returned by a function. Sample traces and slices are attached.

Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#1 lore raw

[Bug 34362] Error-valued pointer dereferences

https://bugzilla.kernel.org/show_bug.cgi?id=34362

[email protected] changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #1 from [email protected] ---
This bug is outdated ,please test against newer kernel to see if it's still valid.
Cheers Nick

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.
#3 lore raw

[Bug 34362] Error-valued pointer dereferences

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=34362

Szőgyényi Gábor <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

Signature · 5 lines
You are receiving this mail because:
You are the assignee for the bug.--
To unsubscribe from this list: send the line "unsubscribe reiserfs-devel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html