public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug tapsets/19065] New: task_fd_lookup() can crash the s390x kernel when invoked with an invalid input
@ 2015-10-05 12:41 mcermak at redhat dot com
  2015-10-05 18:12 ` [Bug tapsets/19065] " dsmith at redhat dot com
  0 siblings, 1 reply; 2+ messages in thread
From: mcermak at redhat dot com @ 2015-10-05 12:41 UTC (permalink / raw)
  To: systemtap

https://sourceware.org/bugzilla/show_bug.cgi?id=19065

            Bug ID: 19065
           Summary: task_fd_lookup() can crash the s390x kernel when
                    invoked with an invalid input
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: tapsets
          Assignee: systemtap at sourceware dot org
          Reporter: mcermak at redhat dot com
                CC: dsmith at redhat dot com
  Target Milestone: ---

Following seems to panic the el[567] s390x kernel:

stap -ge 'probe oneshot{ println(task_fd_lookup(0,1)) }'

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

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

* [Bug tapsets/19065] task_fd_lookup() can crash the s390x kernel when invoked with an invalid input
  2015-10-05 12:41 [Bug tapsets/19065] New: task_fd_lookup() can crash the s390x kernel when invoked with an invalid input mcermak at redhat dot com
@ 2015-10-05 18:12 ` dsmith at redhat dot com
  0 siblings, 0 replies; 2+ messages in thread
From: dsmith at redhat dot com @ 2015-10-05 18:12 UTC (permalink / raw)
  To: systemtap

https://sourceware.org/bugzilla/show_bug.cgi?id=19065

David Smith <dsmith at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from David Smith <dsmith at redhat dot com> ---
Fixed in commit d3be3bf (tested on s390x rhel7).

We were checking for read access to the task structure, but just because we can
safely read the task structure doesn't mean we can safely write to the task
structure. Fixed by no longer trying to lock the task structure.

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

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

end of thread, other threads:[~2015-10-05 18:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-05 12:41 [Bug tapsets/19065] New: task_fd_lookup() can crash the s390x kernel when invoked with an invalid input mcermak at redhat dot com
2015-10-05 18:12 ` [Bug tapsets/19065] " dsmith at redhat dot com

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 read-only IMAP folder(s) and NNTP newsgroup(s).